summaryrefslogtreecommitdiff
path: root/src/libxineadec/fooaudio.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-01-09 01:26:32 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-01-09 01:26:32 +0000
commitc0641405dec6fb244e7d3104035f64f6e535731c (patch)
treeebde21ba846624ff2ed4e0682b0b31a6a4dd1c0d /src/libxineadec/fooaudio.c
parentd1c62ab2512fa23f7bf510396bf5bce28e05b5f9 (diff)
downloadxine-lib-c0641405dec6fb244e7d3104035f64f6e535731c.tar.gz
xine-lib-c0641405dec6fb244e7d3104035f64f6e535731c.tar.bz2
- rework semantics of some buffer flags. check buffer.h for details.
- increase demux and decoder apis - fix runtime changing of ogg/ogm audio channels note: i hope i haven't broken any demux->decoder data exchange. please report any problems. CVS patchset: 6014 CVS date: 2004/01/09 01:26:32
Diffstat (limited to 'src/libxineadec/fooaudio.c')
-rw-r--r--src/libxineadec/fooaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxineadec/fooaudio.c b/src/libxineadec/fooaudio.c
index 724f84a83..8c84b0226 100644
--- a/src/libxineadec/fooaudio.c
+++ b/src/libxineadec/fooaudio.c
@@ -21,7 +21,7 @@
* player. It really works too! It will output a continuous sine wave in
* place of the data it should actually send.
*
- * $Id: fooaudio.c,v 1.10 2003/12/14 22:13:24 siggi Exp $
+ * $Id: fooaudio.c,v 1.11 2004/01/09 01:26:34 miguelfreitas Exp $
*/
#include <stdio.h>
@@ -82,7 +82,7 @@ static void fooaudio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf)
int64_t samples_to_generate;
int samples_to_send;
- if (buf->decoder_flags & BUF_FLAG_HEADER) {
+ if (buf->decoder_flags & BUF_FLAG_STDHEADER) {
/* When the engine sends a BUF_FLAG_HEADER flag, it is time to initialize
* the decoder. The buffer element type has 4 decoder_info fields,