Displaying 1 result from an estimated 1 matches for "mad_stream".
Did you mean:
imap_stream
2007 Apr 08
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_buffer.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec_audio.c
...H
#include "config.h"
#endif
@@ -6,37 +25,20 @@
#include <liboil/liboil.h>
#include <mad.h>
-#include "swfdec_codec.h"
+#include "swfdec_codec_audio.h"
#include "swfdec_debug.h"
typedef struct {
+ SwfdecAudioDecoder decoder;
+
struct mad_stream stream;
struct mad_frame frame;
struct mad_synth synth;
guint8 data[MAD_BUFFER_MDLEN * 3];
guint data_len;
+ SwfdecBufferQueue * queue;
} MadData;
-static gpointer
-swfdec_codec_mad_init (SwfdecAudioFormat type, gboolean width, SwfdecAudioOut format)
-{
- MadData *data = g_new (...