Re: Two more questions

Chris Robinson <[email protected]> Fri, 16 Nov 2012 14:08:49 -0800
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On 11/16/2012 01:26 PM, Jason Daly wrote:
> Just to clarify, you also separate contexts if you need multiple
> listeners, each with their own positions/orientations (this would be
> multiple different context states, as Chris referred to it above).  This
> will be important if you're trying to render sound to each user from his
> or her own perspective.  So, if Listener A is near a train and Listener
> B is farther away, the sounds from the train would be louder for
> Listener A than for Listener B.

I honestly have difficulty thinking of a scenario where multiple 
listeners on one ALCdevice would be useful. The most I could see is for 
split screen, or picture-in-picture, or something like that. In most 
other cases, you'd either share one listener or have a completely 
separate device with its own context.

The thing is, when you have multiple listeners on one device they both 
act as the reference point for device's output. So if you have one train 
sound and two listeners on each side of it, they'd each render the train 
sound on their respective side and both of those would be put into one 
mix for the output device. So as far as the player hears, the train 
would sound like it's coming from both sides at the same time.
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal