Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


OpenAL alGenBuffers


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 FGFS   Members   -  Reputation: 234

Like
0Likes
Like

Posted 15 June 2014 - 06:52 AM

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, 15 June 2014 - 06:52 AM.


Sponsor:

#2 FGFS   Members   -  Reputation: 234

Like
0Likes
Like

Posted 15 June 2014 - 09:13 AM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS