diff options
author | Brad Smith <brad@comstyle.com> | 2009-08-26 15:30:00 +0000 |
---|---|---|
committer | Brad Smith <brad@comstyle.com> | 2009-08-26 15:30:00 +0000 |
commit | 13174d8b23eeed7c70fa794e86b5d01042d097f0 (patch) | |
tree | 1976f157b6cc1adf72e7c9f81653ee1513b899be | |
parent | 556f8d0d0799bd05f38cfb454fdb80de85dd2f7c (diff) | |
download | xine-lib-13174d8b23eeed7c70fa794e86b5d01042d097f0.tar.gz xine-lib-13174d8b23eeed7c70fa794e86b5d01042d097f0.tar.bz2 |
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.
-rw-r--r-- | src/audio_out/audio_sndio_out.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |