From 13174d8b23eeed7c70fa794e86b5d01042d097f0 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 26 Aug 2009 15:30:00 +0000 Subject: Garbled sound with multichannel audio (using sndio) At the moment playing multichannel audio via the sndio backend results in garbled sound. This disables the multichannel audio support until I have more time to look into a better and more appropriate fix. --- src/audio_out/audio_sndio_out.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/audio_out/audio_sndio_out.c b/src/audio_out/audio_sndio_out.c index 7c3040e6e..1d789b5e8 100644 --- a/src/audio_out/audio_sndio_out.c +++ b/src/audio_out/audio_sndio_out.c @@ -105,6 +105,7 @@ static int ao_sndio_open(ao_driver_t *this_gen, case AO_CAP_MODE_STEREO: par.pchan = 2; break; +#if 0 case AO_CAP_MODE_4CHANNEL: par.pchan = 4; break; @@ -113,6 +114,7 @@ static int ao_sndio_open(ao_driver_t *this_gen, case AO_CAP_MODE_5_1CHANNEL: par.pchan = 6; break; +#endif default: xprintf (this->xine, XINE_VERBOSITY_DEBUG, "audio_sndio_out: ao_sndio_open does not support the requested mode: 0x%X\n", @@ -333,8 +335,10 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void *da * Set capabilities */ this->capabilities = AO_CAP_MODE_MONO | AO_CAP_MODE_STEREO | +#if 0 AO_CAP_MODE_4CHANNEL | AO_CAP_MODE_4_1CHANNEL | AO_CAP_MODE_5CHANNEL | AO_CAP_MODE_5_1CHANNEL | +#endif AO_CAP_MIXER_VOL | AO_CAP_MUTE_VOL | AO_CAP_8BITS | AO_CAP_16BITS; -- cgit v1.2.3