[Openal] alSourceUnqueueBuffers while stopped
Daniel PEACOCK
dpeacock at creativelabs.com
Mon Nov 27 15:06:35 PST 2006
Hi Nic (and all),
To avoid problems with older AL implementations (e.g nVidia and SB Live!) I
would recommend using device enumeration to find all the available OpenAL
devices, and then filtering out the ones that don't support OpenAL 1.1.
This guarantees that you will be using an up-to-date AL implementation.
You should also run the latest OpenAL run-time installer as part of your
installation (preferred option) or include the latest AL binaries in your
application's folder.
Dan
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
"nic at weartronics.
com"
<nic at weartronics. To
com> openal at opensource.creative.com
Sent by: cc
openal-bounces at op
ensource.creative Subject
.com Re: [Openal] alSourceUnqueueBuffers
while stopped
11/26/2006 10:10
PM
>>
>> 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
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT000398AE
More information about the Openal
mailing list