Jump to content
  • Advertisement
Sign in to follow this  
FGFS

OpenAL alGenBuffers

This topic is 1491 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
Advertisement

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!