swf_SetSoundStreamBlock now doesn't have a framesize parameter anymore.
[swftools.git] / lib / rfxswf.h
index 327ea54..9edaea0 100644 (file)
@@ -20,7 +20,9 @@
 #include <fcntl.h>
 #include <ctype.h>
 #include "../config.h"
-#include "bladeenc/codec.h"
+
+#define LAME
+#include "lame/lame.h"
 
 #define DEBUG_RFXSWF
 
@@ -599,8 +601,9 @@ int swf_SetLosslessBitsGrayscale(TAG * t,U16 width,U16 height,U8 * bitmap);
 #ifndef RFXSWF_DISABLESOUND
 
 // swfsound.c
-void swf_SetSoundStreamHead(TAG*tag, U16 avgnumsamples);
-void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int numsamples, char first);
+void swf_SetSoundStreamHead(TAG*tag, int avgnumsamples);
+/* expects 2304 samples */
+void swf_SetSoundStreamBlock(TAG*tag, S16*samples, char first);
 
 #endif // RFXSWF_DISABLESOUND