[Openal] How to select output channel
Daniel PEACOCK
dpeacock at creativelabs.com
Fri Apr 3 01:36:58 PDT 2009
Hi,
The Creative OpenAL SDK includes some example code that shows how to load
and play multichannel wavefiles (the "PlayMultiChannel" sample project).
The CWaves class shows how to load in WAVEFORMATEXTENSIBLE wavefiles and
determine the appropriate OpenAL Buffer format enum to be passed into the
alBufferData call.
http://connect.creativelabs.com/developer/Wiki/OpenAL%20SDK%20for%20Windows.aspx
Dan
Creative Labs (UK) Ltd.
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
Creative Labs UK Ltd company number 2658256 registered in England and Wales
at Belmont Road, Belmont Place, Maidenhead, Berkshire, SL6 6TB
Jason Daly
<jdaly at ist.ucf.ed
u> To
Martin Diz <listas at martirac.com.ar>
04/02/2009 07:04 cc
PM Daniel PEACOCK
<dpeacock at creativelabs.com>,
"openal at opensource.creative.com"
<openal at opensource.creative.com>
Subject
Re: [Openal] How to select output
channel
Martin Diz wrote:
On Fri, Mar 27, 2009 at 13:34, Daniel PEACOCK <
dpeacock at creativelabs.com> wrote:
Hi,
Another option would be to create a 5.1 (or 7.1) audio stream on
the fly and put the mono audio data into the appropriate channel(s)
and silence in the remaining channels. You could do this for each
input channel or if you have lots of channels then you could mix
everything together into one 5.1 (or 7.1) stream.
Hello, would you please point me to a document or web page with info
to do this? I read the openAL 1.1 pecification document, but the only
thing i found is that buffers can handle only 2 channels, I'm wrong?
The AL_EXT_MCFORMATS extension (which most of the major implementations now
support), adds several new format specifications for multi-channel data.
The specification isn't very descriptive, but you can see the additional
format tags here:
http://tinyurl.com/d8f9mu
--"J"
ForwardSourceID:NT0006ADCA
More information about the Openal
mailing list