Re: openal ac3 S/PDIF

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Monday, May 24, 2010 1:33:04 am 傅晓晶 wrote:
> Hi!
> I'm writing here for some support, because I am confused about how to make
> my openal configuration to play ac3 file for 5.1 surround effect.I only
> use S/PDIF for output. thank you so much!

Hi.

You'll likely have to decode the AC3 into a PCM stream using some helper lib, 
and use the AL_EXT_MCFORMATS extension for one of the 51CHN formats (taking 
care of differences in channel order, if any). If that extension isn't 
available, you'll need to down-mix it to 16-bit stereo to play. OpenAL doesn't 
have any extensions to load or pass-through AC3, AFAIK.

I'm not sure what licensing issues there may be with AC3 decoders, though. 
Someone with a bit more knowledge may have to speak up on that.

_______________________________________________
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.