[Openal] alSourceQueueBuffers Report Error

Garin Hiebert garinh at cheesetoast.net
Fri Oct 27 02:10:42 PDT 2006


> Did you mean that there is no way to remove the queued buffers that are not
> played yet?
>   

Correct.  Don't add a buffer to the queue unless you intend to play it.  
If playback needs to be aborted, just do an alSourceStop, then all the 
buffers will be marked as processed and they can all be removed.  This 
isn't normally much of an issue for streamed data, because if you want 
to remove an un-played buffer from a stream of continuous data, you're 
going to get an audible glitch anyways, so the stop, re-queue, play 
isn't (audibly) any worse...

Garin



More information about the Openal mailing list