[Openal] alSourceUnqueueBuffers while stopped
nic at weartronics.com
nic at weartronics.com
Sun Nov 26 22:10:04 PST 2006
>>
>> I get AL_INVALID_VALUE = 0xA003 error if I try to use
>> alSourceUnqueueBuffers while source is stopped. Is it only possible
>> to unqueue processed buffers while source is playing (why)?
>
> When a source is stopped, all queued buffers should be marked as
> processed and can be unqueued, so if you've found an implementation
> which doesn't work this way, it's an error. Which implementation are
> you using? If on Windows, if you know which device you are opening,
> that would be helpful information.
>
> Also, make sure that the error you are seeing is coming from the
> alSourceUnqueueBuffers operation -- reset the code with an alGetError
> right before the call...
>
> Garin
Hi Garin,
Ah-hah! Thank you for reminding me to try the other implementations! I
am using Windows XP and I was using alcOpenDevice(null) which maps to
the NVidia native driver on my system. Seems this is another problem
with my native driver, because both generic software and generic
hardware work fine.
As you know from my previous posts to this list, I have been bitten by
this driver a couple of times before (so the cause of this problem
should have occurred to me sooner this time!). I will change my code to
specifically use the generic hardware device to avoid the native driver
so it doesn't happen again!
Thanks!
Nic
More information about the Openal
mailing list