OpenAL Default DLL
by Marcelo Oliveira · 01/23/2004 (10:59 am) · 1 comments
- Rename your OpenAL32.dll (in the game directory) to DefOpenAl32.dll
- In \engine\platformWin32\winOpenAL.cc
Modify at line 113:
This way, if the game can't load a system direct OpenAL DLL (better option), it will load the default DS wrapper.
- In \engine\platformWin32\winOpenAL.cc
Modify at line 113:
winState.hinstOpenAL = LoadLibrary( "OpenAl32.dll" );
// Add this (tries the default OpenAL lib)
if(winState.hinstOpenAL == NULL)
winState.hinstOpenAL = LoadLibrary( "DefOpenAl32.dll" );This way, if the game can't load a system direct OpenAL DLL (better option), it will load the default DS wrapper.
About the author
Recent Blogs
• Sound Upgrade• Foreign keyboard fix
• Automatic DSO cleaning
• Fixes show stop button

Torque 3D Owner Michael Cozzolino
Big Monk Games