summaryrefslogtreecommitdiff
path: root/src/libxineadec/nsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxineadec/nsf.c')
-rw-r--r--src/libxineadec/nsf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxineadec/nsf.c b/src/libxineadec/nsf.c
index 53185c1d5..28ed3677f 100644
--- a/src/libxineadec/nsf.c
+++ b/src/libxineadec/nsf.c
@@ -20,7 +20,7 @@
* NSF Audio "Decoder" using the Nosefart NSF engine by Matt Conte
* http://www.baisoku.org/
*
- * $Id: nsf.c,v 1.8 2004/12/16 13:59:12 mroi Exp $
+ * $Id: nsf.c,v 1.9 2006/03/07 08:03:22 tmattern Exp $
*/
#include <stdio.h>
@@ -131,7 +131,7 @@ static void nsf_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 */