summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_decoder.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-02-18 15:55:44 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-02-18 15:55:44 +0000
commite9728f74c747aa5c3f491cfce675cb5747413b6d (patch)
tree4f0271685b59a634b0954f0c70efe1f74efbe9fc /src/xine-engine/audio_decoder.c
parent6b8d8fbccaf932cc8d02d6fd56000839894ab41a (diff)
downloadxine-lib-e9728f74c747aa5c3f491cfce675cb5747413b6d.tar.gz
xine-lib-e9728f74c747aa5c3f491cfce675cb5747413b6d.tar.bz2
cleanup/added debug messages, small metronom fix
CVS patchset: 1508 CVS date: 2002/02/18 15:55:44
Diffstat (limited to 'src/xine-engine/audio_decoder.c')
-rw-r--r--src/xine-engine/audio_decoder.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c
index 7f73ebbc1..19510a3c7 100644
--- a/src/xine-engine/audio_decoder.c
+++ b/src/xine-engine/audio_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_decoder.c,v 1.59 2002/02/17 17:32:50 guenter Exp $
+ * $Id: audio_decoder.c,v 1.60 2002/02/18 15:55:44 guenter Exp $
*
*
* functions that implement audio decoding
@@ -36,6 +36,9 @@
#include "xine_internal.h"
#include "xineutils.h"
+/*
+#define LOG
+*/
void *audio_decoder_loop (void *this_gen) {
@@ -50,16 +53,16 @@ void *audio_decoder_loop (void *this_gen) {
while (running) {
-#ifdef AUDIO_DECODER_LOG
+#ifdef LOG
printf ("audio_loop: waiting for package...\n");
#endif
buf = this->audio_fifo->get (this->audio_fifo);
-#ifdef AUDIO_DECODER_LOG
+#ifdef LOG
printf ("audio_loop: got package pts = %d, type = %08x\n",
- buf->PTS, buf->type);
+ buf->pts, buf->type);
#endif
if (buf->input_pos)