[Openal] Random AL_INVALID_OPERATION using
h.k.1981 at gmail.com
Mon Feb 12 15:25:59 PST 2007
Hiya all. My name is Luis, and I've been fiddling with OpenAL for some time
now. This is the first time I send anything to the list though.
My problem is the following: I've built up a wrapper for OpenAL to be used
in a game engine. Right after finishing it, it looked like it worked
perfectly. That until some other buddy in the dev group began to complain
about sounds being skipped randomly. After tracking down the bug, I found
out that this was caused by some sources rejecting buffers randomly, ie,
calling alSourcei or alSourceQueueBuffers on that source raised
AL_INVALID_OPERATION errors (by randomly I really mean randomly, since the
same buffer/source that causes this at a given time may not cause anything
afterwards). Following the docs, this should mean that there's no current
context, but this certainly ain't the case. And it seems that this is only
happening to this guy up to now, and only when using Generic Hardware (no
probs with Generic Software). His sound card is a SB Live!. Forgot to say
that the sources are correctly reset before trying to attach the audio data
( 99% sure ).
My question then is: Has this happened to anyone out there?, and is there a
solution to this?. Right now I'm trying to come up with some workaround, but
I would really appreciate some help with this.
Thanks in advance :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openal