Advertisement

OpenAL alGenBuffers

Started by June 15, 2014 12:52 PM
0 comments, last by FGFS 10 years, 5 months ago

Hi

why could I get a error on second run of:

alGenBuffers(NUM_BUFFERS, Buffers);

if(alGetError() != AL_NO_ERROR)
return AL_FALSE;

It's a x-plane plugin which is ok but reloading the airplane or after loading another plane with a openal plugin returns AL_FALSE.

Why could such be?

Thanks in advance

Now after following:

http://www.xsquawkbox.net/xpsdk/mediawiki/OpenAL_Example

and creating another context it works but I get tons of:

before loading ENGINE_TURBOPROP_inn.wav, oal error=40961!
before loading STARTER_TURBOPROP_inn.wav, oal error=40961!
before loading PROPELLER_OF_AIRPLANE_inn.wav, oal error=40961!

...

in the log. All the time, at first loading, reload also for other planes that use OpenAL. Any ideas? I cannot find anything online and am tempted to ignore it as it works fine.

Thanks

This topic is closed to new replies.

Advertisement