QuakeForge  0.7.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
QuakeForge Sound System

The QuakeForge sound system is designed to work with many sound systems.

The sound systems QuakeForge supports are:

Linux
ALSA, OSS, SDL
Other UNIX-like
OSS, SDL
Windows
DirectX, Win32, SDL

There are others (SUN, SGI, MME), but their status is unkown. SUN sound support will build (on OpenBSD), but whether it works is unknown.

In the above list, the first sound system listed for each OS is the default. To use one of the other supported drivers, set the snd_output cvar to the appropriate name as shown below (all systems are shown).

SystemALSAOSSDirectX Win32SUNSGIMMESDL
Driveralsaossdx winsunsgimmesdl

As snd_output is read-only, see Read-only cvars for how to set it.

In addition to the above, QuakeForge also supports JACK audio. QuakeForge's JACK support should work on any system that supports JACK. However, as JACK support uses a different architecture (JACK audio is "pull", QuakeForge default audio is "push"), selecting JACK support uses a different cvar; Set snd_render to jack (the following table shows the name for both render systems).

SystemDefaultJACK
Renderdefaultjack

Common Cvars and Commands

ambient_level
ambient_fade
precache
snd_swapchannelside
snd_volumesep
snd_phasesep
volume

play
playcenter
playvol
snd_force_unblock
soundlist

When QuakeForge is built with MIDI support (using WildMidi):
wildmidi_config
wildmidi_volume

QF Default Cvars and Commands

snd_noextraupdate
snd_mixahead
nosound

stopsound
soundinfo

snd_stereo
snd_rate
snd_bits

snd_device

snd_oss_mmaped

JACK Cvars and Commands

snd_jack_server