Sign in to follow this  

OpenAL alGenBuffers

This topic is 1281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Edited by FGFS

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

This topic is 1281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this