From 2b9d23474d09ab78b87f4b7a42044429fa1f901e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 6 Dec 2002 01:13:15 +0000 Subject: nothing here (just small debug message updates) CVS patchset: 3431 CVS date: 2002/12/06 01:13:15 --- src/xine-engine/audio_decoder.c | 4 +++- src/xine-engine/audio_out.c | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 68a93f1a0..3a42a2369 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.90 2002/11/29 17:25:26 mroi Exp $ + * $Id: audio_decoder.c,v 1.91 2002/12/06 01:13:15 miguelfreitas Exp $ * * * functions that implement audio decoding @@ -102,8 +102,10 @@ void *audio_decoder_loop (void *stream_gen) { stream->finished_count_audio++; +#ifdef LOG printf ("audio_decoder: reached end marker # %d\n", stream->finished_count_audio); +#endif pthread_cond_broadcast (&stream->counter_changed); diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index 88359229f..8cff4527f 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_out.c @@ -17,7 +17,7 @@ * along with self program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.c,v 1.86 2002/12/01 01:32:47 guenter Exp $ + * $Id: audio_out.c,v 1.87 2002/12/06 01:13:17 miguelfreitas Exp $ * * 22-8-2001 James imported some useful AC3 sections from the previous alsa driver. * (c) 2001 Andy Lo A Foe @@ -577,7 +577,7 @@ static void *ao_loop (void *this_gen) { * hardware audio buffer at the moment? */ - cur_time = this->clock->get_current_time (this->clock); + cur_time = this->clock->get_current_time (this->clock); hw_vpts = cur_time; #ifdef LOG @@ -596,7 +596,7 @@ static void *ao_loop (void *this_gen) { gap = in_buf->vpts - hw_vpts; #ifdef LOG printf ("audio_out: hw_vpts : %lld buffer_vpts : %lld gap : %lld\n", - hw_vpts, buf->vpts, gap); + hw_vpts, in_buf->vpts, gap); #endif /* @@ -611,12 +611,12 @@ static void *ao_loop (void *this_gen) { printf ("audio_out:loop: next fifo\n"); #endif fifo_append (this->free_fifo, in_buf); - in_buf = NULL; #ifdef LOG printf ("audio_out: audio package (vpts = %lld, gap = %lld) dropped\n", - buf->vpts, gap); + in_buf->vpts, gap); #endif + in_buf = NULL; /* for small gaps ( tolerance < abs(gap) < AO_MAX_GAP ) -- cgit v1.2.3