Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified lib/encoder-mp3.swc
Binary file not shown.
3 changes: 1 addition & 2 deletions shine/as3api.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ void AS3_Compress() __attribute__((
used,
annotate("as3sig:public function compress(wave:ByteArray):ByteArray"),
annotate("as3package:im.norm.data.encoders.MP3Encoder.shine"),
annotate("as3import:flash.utils.ByteArray"),
annotate("as3import:com.demonsters.debugger.MonsterDebugger")
annotate("as3import:flash.utils.ByteArray")
));

#endif
4 changes: 2 additions & 2 deletions shine/as3helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
do { \
inline_as3 \
( \
"MonsterDebugger.trace(this, CModule.readString(%0, %1) + ' : ' + CModule.readString(%2, %3));\n" \
"trace(CModule.readString(%0, %1) + ' : ' + CModule.readString(%2, %3));\n" \
: : "r"(name), "r"(strlen(name)), "r"(value), "r"(strlen(value)) \
); \
} while(0)
Expand All @@ -40,7 +40,7 @@
do { \
inline_as3 \
( \
"MonsterDebugger.trace(this, CModule.readString(%0, %1) + ' : ' + %2);\n" \
"trace(CModule.readString(%0, %1) + ' : ' + %2);\n" \
: : "r"(name), "r"(strlen(name)), "r"(value) \
); \
} while(0)
Expand Down
5 changes: 2 additions & 3 deletions src/im/norm/data/encoders/MP3Encoder.as
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package im.norm.data.encoders
import flash.utils.ByteArray;
import flash.utils.Endian;

import com.demonsters.debugger.MonsterDebugger;
import im.norm.data.encoders.WaveEncoder;
import im.norm.data.encoders.MP3Encoder.shine.compress;

Expand All @@ -27,8 +26,8 @@ package im.norm.data.encoders
}
catch(ex:*)
{
MonsterDebugger.trace( this, 'failed to encode mp3, ex:' );
MonsterDebugger.trace( this, ex );
trace('failed to encode mp3, ex:' );
trace(ex );
}

return ret;
Expand Down