[Openal] OpenAL Soft doesn't work on old computers?

bencelot bencelot at gmail.com
Thu Oct 16 06:56:13 PDT 2008



Hey all, OpenAL Soft isn't working on my old pentium 3 computer. It works
fine on my current XP and Vista computers.

I tested my game on a really old and crappy computer.. that I made
even worse by rolling back the drivers, so it only has OpenGL 1.1.
Now.. all of a sudden OpenAL soft won't even work:

 int main() {
 ALCdevice* al_device = alcOpenDevice(NULL);
 ALCcontext* al_context = alcCreateContext(sounds.al_device, NULL);
 alcMakeContextCurrent(sounds.al_context);

 int error = alGetError();
 if (error != AL_NO_ERROR)
 {
   cout << "INIT ERROR: " << error << endl;
 }



This is the very first piece of code, and it displays in the console:
INIT ERROR: 40964

How could that be? It works fine on the other 2 computers. I'm
including alut.dll and openal32.dll right alongside the exe. I thought
that if I included these two dll's alongside the exe, that it'll
ensure that openal works on all computers. Is it because openal32.dll
still depends on something external that my crap computer doesn't
have? If so.. is there anyway I can build that into the openal32.dll
to ensure that it works on all computers? In Visual C++, I've already
built it using the Runtime Library setting of Multithreaded (/MT).
What more can I do?

P.S. When I removed openal soft (alut.dll and openal32.dll), and
replaced them with the original OpenAL (alut.dll, wrap_oal.dll and
openal32.dll), the error didn't appear. So it must be something to do 
with OpenAL Soft.. my current build of openal32.dll is 206KB.

P.P.S. Apparently OpenAL Soft relies on directX 7 and sound drivers?
Is it possible to somehow bundle these with the openal32.dll build?
Also, does anyone have any idea roughly what year computers started
to come out that satisfied these requirements? If I use OpenAL Soft,
how old can the computers I target be assuming the user hasn't updated
their drivers.

Thx,
Ben.
-- 
View this message in context: http://www.nabble.com/OpenAL-Soft-doesn%27t-work-on-old-computers--tp20014200p20014200.html
Sent from the OpenAL - User mailing list archive at Nabble.com.



More information about the Openal mailing list