From e76d60c53d666cc42408bcea5e4060ac173798dd Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 26 Nov 2003 23:44:08 +0000 Subject: xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08 --- src/xine-engine/audio_decoder.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/xine-engine/audio_decoder.c') diff --git a/src/xine-engine/audio_decoder.c b/src/xine-engine/audio_decoder.c index 480a6e205..2ae362c88 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.115 2003/11/26 19:43:38 f1rmb Exp $ + * $Id: audio_decoder.c,v 1.116 2003/11/26 23:44:10 f1rmb Exp $ * * * functions that implement audio decoding @@ -183,9 +183,8 @@ static void *audio_decoder_loop (void *stream_gen) { case BUF_CONTROL_AUDIO_CHANNEL: { - if (stream->xine->verbosity >= XINE_VERBOSITY_DEBUG) - printf ("audio_decoder: suggested switching to stream_id %02x\n", - buf->decoder_info[0]); + xprintf(stream->xine, XINE_VERBOSITY_DEBUG, + "audio_decoder: suggested switching to stream_id %02x\n", buf->decoder_info[0]); stream->audio_channel_auto = buf->decoder_info[0] & 0xff; } break; -- cgit v1.2.3