Re: Sources and Buffers

Jason Daly <[email protected]> Mon, 19 Nov 2012 15:12:10 -0500
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On 11/19/2012 02:57 PM, [email protected] wrote:
> Does this make any sense at all?  I get the impression that using the
> buffer queueing will provide cleaner transitions from one sound to the
> next, BUT it appears to greatly complicate when I need to "orchestrate"
> the different sounds as in a rapid or "interrupting" throttle change.
> Note that all of these sounds are being played in sequence, not
> overlapping at all.  But it appears much easier to just STOP one Source
> and PLAY a different Source, rather than mess with the Buffer Queue...

I honestly don't remember how the looping mechanism deals with buffer 
queues, to be honest  :-)   It might not work at all.

One possible alternative would be to just keep feeding the buffer queue 
the one buffer that needs to be looped, until it's time to play a new 
transition.  This would likely be cleaner than either trying to loop the 
last buffer, or stopping and starting the source.

--"J"

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal