Author Topic: cause for my OpenAL problems revealed  (Read 3043 times)

0 Members and 1 Guest are viewing this topic.

cause for my OpenAL problems revealed
took me a while and some reading on the openal.org to put my nose right on what caused my problems with openAL - having recently upgraded from Nforce to X-Fi there was an old openAL dll (nvopenal.dll) lurking in my system directory folder! Deleting it enabled OpenAL sweetness to it's full extent for me, so everybody still having problems with sound may want to check this... ( I knew it wasn't a bug... ;) )

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: cause for my OpenAL problems revealed
Yeah that's the one problem with the way OpenAL is setup under Windows.  It was done to allow easier use of protected technologies by the hardware manufacturers but it means about 3 different dlls will be in use for OpenAL: a router, a wrapper, and a native dll.  It's only the native dlls that you have to really be careful of so if you are using NVIDIA drivers (for an nforce boad) then make sure you don't have "ct_oal.dll" since that's the Creative native dll.  If you have Creative drivers (what is linked from the OpenAL site or for your sound card) then you have to make sure you don't have "nvopenal.dll" in there.

Unfortunately even the newer sound code I'm working on can't fix (or deal with) this problem automatically so there will continue to be a problem when you are switching between the various custom drivers (Creative, NVIDIA, etc.).  The situation is a lot cleaner and simpler on Linux and OS X, which is rather strange given the history of everything. :)

We will start making full use of the native DLLs before too long though.  That will open up better performance and more features (EAX, full hardware acceleration, etc.) but for now it's still using the basic sound device with FS2_Open.

 

Offline DinAlt

  • 21
Re: cause for my OpenAL problems revealed
Hi,

Might be worth stickying this cuase that was exactly my problem too.

Thanks for the post !

DinAlt

 

Offline Freespace Freak

  • 28
  • Official forum permanewb
Re: cause for my OpenAL problems revealed
I second stickying this post.  This is what I had to do.  In addition to removing the files mentioned, also remove OpenAL32.dll and wrap_oal.dll from system32.  Reinstall OpenAL version 1.1 and these files will reappear in System32.  Copy these and past them to your main Frespace2 folder.  You should be all set to enjoy FS Open version 3.6.9!