« Return to Thread: Problem with alSourceUnqueueBuffers

Re: Problem with alSourceUnqueueBuffers

by qartar :: Rate this Message:

Reply to Author | View in Thread


Daniel PEACOCK wrote:
It is the sample offset from the beginning of the *current* queue. e.g If
sample offset returns say, 2000 samples, and then you unqueue a (processed)
buffer containing 1000 samples, and immediately ask for the sample offset,
it will be 1000 samples.   Are you taking this into account?
It looks like this was my problem. I've just now added the logic to my code and it seems to be working fine. Thanks for the help!

 « Return to Thread: Problem with alSourceUnqueueBuffers