git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3fe120d
)
Added sound module.
author
kramm
<kramm>
Sun, 13 Jan 2002 18:56:02 +0000
(18:56 +0000)
committer
kramm
<kramm>
Sun, 13 Jan 2002 18:56:02 +0000
(18:56 +0000)
lib/rfxswf.c
patch
|
blob
|
history
lib/rfxswf.h
patch
|
blob
|
history
diff --git
a/lib/rfxswf.c
b/lib/rfxswf.c
index
f0f23ec
..
f560f95
100644
(file)
--- a/
lib/rfxswf.c
+++ b/
lib/rfxswf.c
@@
-877,6
+877,7
@@
void swf_FreeTags(SWF * swf) // Frees all malloc'ed memory for t
#include "modules\swfcgi.c"
#include "modules\swfbits.c"
#include "modules\swfaction.c"
#include "modules\swfcgi.c"
#include "modules\swfbits.c"
#include "modules\swfaction.c"
+#include "modules\swfsound.c"
#else
#else
@@
-889,6
+890,7
@@
void swf_FreeTags(SWF * swf) // Frees all malloc'ed memory for t
#include "modules/swfcgi.c"
#include "modules/swfbits.c"
#include "modules/swfaction.c"
#include "modules/swfcgi.c"
#include "modules/swfbits.c"
#include "modules/swfaction.c"
+#include "modules/swfsound.c"
#endif
#endif
diff --git
a/lib/rfxswf.h
b/lib/rfxswf.h
index
c2358cd
..
4ad76cb
100644
(file)
--- a/
lib/rfxswf.h
+++ b/
lib/rfxswf.h
@@
-19,6
+19,7
@@
#include <unistd.h>
#include <fcntl.h>
#include "../config.h"
#include <unistd.h>
#include <fcntl.h>
#include "../config.h"
+#include "bladeenc/codec.h"
#define DEBUG_RFXSWF
#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);
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);
// swftools.c
U8 swf_isDefiningTag(TAG * t);