openarena

OpenAL (Open Audio Library) is free software cross-platform audio API.

OpenAL enables a more realistic 3D audio environment (including support for 5.1 and 7.1 surrond) and is required if you want to use the integrated "Voice chat" (VoIP) feature.

It is available for various Operating Systems, like Microsoft Windows, GNU/Linux, Mac OS...

OpenAL in OpenArena

OpenArena supports OpenAL, if it is installed in your system. If it is not installed, OpenArena will use its standard "SDL" audio driver.

You can enable or disable OpenAL from Setup -> System -> Sound menù. Please notice that you will be able to select this option even if you do not have OpenAL installed (obviously OpenAL will not work in that case, and SDL will be used instead).

You can use the /s_alDriver command to view/set the name of the OAL library (under Windows, it should be OpenAL32.dll).

Notes and tips

OpenAL and volume controls

See also: Music

At least with OpenArena 0.8.8 under Microsoft Windows, volume controls behaviour differ if you are using OpenAL or not ("not using OpenAL" for sound may also be referred to "using SDL sound").

"Effects volume" and "Music volume" are two slider controls in SETUP -> SYSTEM -> SOUND menu, and correspond to /s_volume <number.dec between 0 and 1> and /s_musicvolume <number.dec between 0 and 1>, respectively.
As you can guess, 0.0 means no sound, 1.0 means full volume, and 0.5 means half volume. S_volume default value is 0.8. S_musicvolume default value is 0.25.

If you are using OpenAL, "effects volume" and "music volume" are completely independent (you can set effects volume to 0 and still hear the music, if music volume is not 0); if you are NOT using OpenAL, instead, music volume is also affected by effects volume (if you set effects volume to 0, you cannot hear music even if music volume is set to the maxmimum; in other words, in this case "effects volume" acts as a "master volume").

Installation

To install OpenAL in your computer, check if a download is available for your Operating System here (Internet Archive) -for example, for Microsoft Windows you can use this direct link (Internet Archive) to download the installer-, and then execute that file (or extract and execute its content). There could be other methods to get and install it, depending on your Operating System. In Debian/Ubuntu (Linux) you can do this with the command: sudo apt-get install libopenal0, else apt-get install libopenal0a.

See also

External links

  1. You can see what's rendered in front of you by using /r_showtris 1 (after loading a map with /devmap <mapname> command). To restore normal view, set /r_showtris 0. As readind anything, including command console, when it's active, you may wish to bind a key to toggle it (as an example, \bind r toggle r_showtris).