diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2006-03-07 08:03:08 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2006-03-07 08:03:08 +0000 |
commit | 013d38071c3579a2006baf107b9f43cbef0bc569 (patch) | |
tree | 67a1d3e9b18985e995f82f6b2138f5937052a49e /src/libmusepack | |
parent | fffa38ba786165e6c4f3c449ec29e3bdc6be0820 (diff) | |
download | xine-lib-013d38071c3579a2006baf107b9f43cbef0bc569.tar.gz xine-lib-013d38071c3579a2006baf107b9f43cbef0bc569.tar.bz2 |
Fixed channels to mode translation in audio decoders.
Patch from Chris Brien.
CVS patchset: 7922
CVS date: 2006/03/07 08:03:08
Diffstat (limited to 'src/libmusepack')
-rw-r--r-- | src/libmusepack/xine_decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <stdio.h> @@ -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 */ |