From 013d38071c3579a2006baf107b9f43cbef0bc569 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Tue, 7 Mar 2006 08:03:08 +0000 Subject: Fixed channels to mode translation in audio decoders. Patch from Chris Brien. CVS patchset: 7922 CVS date: 2006/03/07 08:03:08 --- src/libmusepack/xine_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libmusepack') diff --git a/src/libmusepack/xine_decoder.c b/src/libmusepack/xine_decoder.c index 6d862d4c7..6016627fd 100644 --- a/src/libmusepack/xine_decoder.c +++ b/src/libmusepack/xine_decoder.c @@ -23,7 +23,7 @@ * 32bit float output * Seeking?? * - * $Id: xine_decoder.c,v 1.4 2005/01/30 14:41:34 valtri Exp $ + * $Id: xine_decoder.c,v 1.5 2006/03/07 08:03:10 tmattern Exp $ */ #include @@ -274,7 +274,7 @@ static void mpc_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { this->stream, this->bits_per_sample, this->sample_rate, - (this->channels == 2) ? AO_CAP_MODE_STEREO : AO_CAP_MODE_MONO); + _x_ao_channels2mode(this->channels)); } /* if the audio still isn't open, do not go any further with the decode */ -- cgit v1.2.3