OpenAL FAQ Index | OpenAL Full (Regular) view | FAQ Home
OpenAL FAQ
Last Updated on: 2000-09-16 01:43:28
OpenAL, the Open Audio Library, seeks to become the audio counterpart to OpenGL for audio. With OpenAL it is possible to create three-dimensional sound across many platforms, such as Linux, Apple Macintosh, Windows and more, with quality suitable for professional projects like games and multimedia applications. OpenAL is supported by a growing number of hardware vendors and developers with the goal of creating a powerful, elegant C-based API for creating rich, high-quality 3D sound content, with cross-platform compatability as a design goal.
cvs -d:pserver:guest@cvs.lokigames.com:/cvs loginNext, check out OpenAL:
cvs -d:pserver:guest@cvs.lokigames.com:/cvs co openalIf you are checking out OpenAL for use with a particular binary application, you should take care to note whether the application uses an old version of OpenAL. If that is the case, you may need to specify the branch to check OpenAL out from:
cvs -d:pserver:guest@cvs.lokigames.com:/cvs co -r stable-pre-1-0 openalThe -r stable-pre-1-0 tag specifies that the cvs server give you the version of OpenAL that corresponds to the general interface specified prior to the 1.0 specification. For a list of Loki games which use OpenAL which require this specific branch of OpenAL:
Heavy Gear II Sim City 3k Unlimited Soldier of Fortuneall other Loki games should use the latest OpenAL drivers in the regular branch.
./configure --enable-esd [additional options]make, and install as needed by your application. Then, in your ~/.openalrc file, place the following line:
(define devices '(esd native))This tells OpenAL to first try the esound daemon, then try normal native drivers. You may need to enable TCP connections for your esound daemon.
(define native-use-select #f)Please note that by bypassing the select call on your card, you are reducing the robustness of any applications which rely on OpenAL for sound.