[Openal] alutCreateBufferFromFile

Jason Daly jdaly at ist.ucf.edu
Thu Mar 12 11:09:27 PDT 2009


angelo wrote:
> 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.
>   

Did you try alcGetError(context);      :-)

--"J"



More information about the Openal mailing list