[Openal] alutCreateBufferFromFile

angelo angelo70 at gmail.com
Thu Mar 12 10:35:54 PDT 2009


Hello all,

i have a little problem on using this function: in most of the cases it 
works, and it is really useful for reading wav chunks without coding a 
wav reader.

Anyway, in some particular circustances, it return this error:

"There was already an ALC error on entry to alutCreateBufferFromFile"

This even if i call many times

alGetError()
alutGetError()

before calling alutCreateBufferFromFile  and those return 0, once i call 
alutCreateBufferFromFile i get the same error.

I guess the answer is inside the function code.
Any help is really appreciated,

regards,
Angelo


More information about the Openal mailing list