Added sound module.
[swftools.git] / lib / rfxswf.h
index c2358cd..4ad76cb 100644 (file)
@@ -19,6 +19,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include "../config.h"
+#include "bladeenc/codec.h"
 
 #define DEBUG_RFXSWF
 
@@ -558,6 +559,10 @@ 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);
 
+// swfsound.c
+void swf_SetSoundStreamHead(TAG*tag, U16 avgnumsamples);
+void swf_SetSoundStreamBlock(TAG*tag, S16*samples, int numsamples, char first);
+
 // swftools.c
 
 U8 swf_isDefiningTag(TAG * t);