Re: Queueing Buffers question

[email protected] Fri, 30 Nov 2012 10:31:57 -0500
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
> On 11/29/2012 06:55 PM, [email protected] wrote:
>> Quick question on alSourceQueueBuffers() ...
>>
>> You can't queue the same buffer up more than once, can you?
>
> You can. The same buffer can be queued multiple times to simulate
> looping, or interspersed between other buffers for other effects.
> However, as long as there's at least one instance queued onto a source,
> the buffer can't normally be modified.
> _______________________________________________
> Openal mailing list
> [email protected]
> http://opensource.creative.com/mailman/listinfo/openal
>

Thanks, Chris.  As I was writing a followup to my own question, to provide
more detail, I realized that my bug was actually unrelated - I wasn't
actually calling play() on the Source (it was being gated by some other
upstream logic I hadn't updated yet).  So things are working now.  Funny
how trying to explain a problem to someone tends to jog the old brain
cells.

A follow-up question, though.  I have learned how to un-queue used
buffers, which is pretty easy.

Is there any way to un-queue *pending* buffers that have been queued but
haven't been played yet?

- Mark


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