OpenAL is a cool cross-platform library for 3D sound. All the sound played by our engine goes through it.
Contents:For developers, the decription how to use 3D sound in Castle Game Engine is in manual about sound.
Install appropriate package for your Linux distribution.
Look for a package named like libopenal*.
My games work with both common OpenAL implementations: OpenAL Sample Implementation (the original implementation, from Loki, unmaintained) and OpenAL Soft (the newer, maintained version). Modern distributions (at least Debian and Ubuntu) contain OpenAL Soft.
Simple pkg_add -r openal command should do
the trick.
New Mac OS X installs have OpenAL already installed. If not, you can download and run Creative free OpenAL installer for Mac OS X. (Choose OpenAL_Installer_OSX, that is OpenAL Installer for MacOS X.)
OpenAL libraries (DLL files) should already be included in all binary packages of my games under Windows. So you don't have to do anything.
However, you're free to remove appropriate DLL files
(OpenAL32.dll and wrap_oal.dll) provided in my archives
and install
OpenAL yourself. This is especially handy if you
want to use other OpenAL implementation than the one from Creative.
OpenAL libraries that are provided by default come from
Creative
free OpenAL installer (choose oalinst,
that is OpenAL Installer for Windows).
You can always compile from sources. See OpenAL Soft or Creative source code instructions.