X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Frfxswf.h;h=07b9ea00d7f70fb1ed5cd6a45d3951c773e6d9a5;hb=714b122c75a757dcd1ef9a631aa209a298e650d7;hp=2e12d125ac04a32a6e6f63c45112d2a2f892ddf2;hpb=58e7d89f8115525c32a0e3f3f4e5501c6a17186d;p=swftools.git diff --git a/lib/rfxswf.h b/lib/rfxswf.h index 2e12d12..07b9ea0 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -39,6 +39,9 @@ extern "C" { #include "./drawer.h" #define DEBUG_RFXSWF +#ifdef RFXSWF_DISABLESOUND +#define NO_MP3 +#endif #ifndef TRUE #define TRUE (1) @@ -702,18 +705,12 @@ int swf_SetLosslessBits(TAG * t,U16 width,U16 height,void * bitmap,U8 bitmap_fla int swf_SetLosslessBitsIndexed(TAG * t,U16 width,U16 height,U8 * bitmap,RGBA * palette,U16 ncolors); int swf_SetLosslessBitsGrayscale(TAG * t,U16 width,U16 height,U8 * bitmap); -#ifndef RFXSWF_DISABLESOUND - // swfsound.c void swf_SetSoundStreamHead(TAG*tag, int avgnumsamples); void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int seek, char first); /* expects 2304 samples */ - void swf_SetSoundDefine(TAG*tag, S16*samples, int num); - void swf_SetSoundInfo(TAG*tag, SOUNDINFO*info); -#endif // RFXSWF_DISABLESOUND - // swftools.c U8 swf_isDefiningTag(TAG * t);