[Openal] no context open on non-dev computers

Tim Mahrt runeedge at gmail.com
Sat Oct 7 23:24:14 PDT 2006


Hi,
I've developed a little test program for demonstrating OpenAL,
however, it seems that it only works on my computer.  When I run it on
someone elses, alcOpenDevice(NULL), fails to return a device.  This
has been tried on three different computers that I do not develop on.
I did get my project compiling on one of them though, however, it was
unable to open a device.

Are there some pre-requisites required to get an OpenAL context?  Does
the user have to install anything?  I tried to make my project
stand-alone since its just a simple demo.

If it helps, the file can be downloaded here:
https://netfiles.uiuc.edu/tmahrt2/shared/OpenGL/OpenAL/OpenALTestWithCode.zip
Just run the exe file.  Pressing "z" on your keyboard will continually
loop a laser sound.  Pressing "x" will play it once.  The sound is
"tied" to the moving box.  The listener is at (0, 0, 0) although the
camera is not.

Thanks,
Tim


More information about the Openal mailing list