#include <fcntl.h>
#include <ctype.h>
#include "../config.h"
-#include "bladeenc/codec.h"
+
+#define LAME
+#include "lame/lame.h"
#define DEBUG_RFXSWF
#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