Re: Playing 5.1 sound on a stereo device with OpenAL Soft

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Thursday, November 04, 2010 9:59:15 pm Martin Lambers wrote:
> Hi all,
> 
> How do I play multichannel sound on a stereo device using OpenAL (Soft)?
> 
> >From the example alffmpeg.c, I had the impression that OpenAL would
> 
> automatically perform downmixing of a 5.1 file if the output device was
> stereo, but that does not seem to be the case. For example, with this
> test file
> <http://www.lynnepublishing.com/surround/www_lynnemusic_com_surround_test.a
> c3>, alffmpeg only plays static noise on my system. Other ffmpeg-based
> players can play it fine, so I don't think it's a decoding problem.

Hi.

What version of OpenAL Soft are you using? The downmixing is automatic, and it 
seems to work fine for me. If possible, try recompiling alffmpeg... ffmpeg 
updates sometimes break compatibility in odd ways.

If that doesn't help, can you test to see if it happens with a PCM-coded file 
(to rule out the possibility of an error in/with the decoder)? There is one in 
the OpenAL SDK for Windows, or you can make mplayer output one from the ac3.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.