2007-11-14 02:02:18 +00:00
|
|
|
# OpenAL config file. Options that are not under a block or are under the
|
|
|
|
# [general] block are for general, non-backend-specific options. Blocks may
|
|
|
|
# appear multiple times, and duplicated options will take the last value
|
2008-01-20 02:18:14 +00:00
|
|
|
# specified.
|
|
|
|
# The system-wide settings can be put in /etc/openal/alsoft.conf and user-
|
|
|
|
# specific override settings in ~/.alsoftrc.
|
2008-06-05 01:09:21 +00:00
|
|
|
# For Windows, these settings should go into %AppData%\alsoft.ini
|
2008-11-13 15:58:39 +00:00
|
|
|
# The environment variable ALSOFT_CONF can be used to specify another config
|
|
|
|
# override
|
2007-11-14 02:02:18 +00:00
|
|
|
|
|
|
|
# Option and block names are case-insenstive. The supplied values are only
|
|
|
|
# hints and may not be honored (though generally it'll try to get as close as
|
2009-08-13 20:48:06 +00:00
|
|
|
# possible). Note: options that are left unset may default to app- or system-
|
|
|
|
# specified values. These are the current available settings:
|
2007-11-14 02:02:18 +00:00
|
|
|
|
2009-05-18 05:24:29 +00:00
|
|
|
## format:
|
|
|
|
# Sets the output format. Can be one of:
|
|
|
|
# AL_FORMAT_MONO8 (8-bit mono)
|
|
|
|
# AL_FORMAT_STEREO8 (8-bit stereo)
|
|
|
|
# AL_FORMAT_QUAD8 (8-bit 4-channel)
|
|
|
|
# AL_FORMAT_51CHN8 (8-bit 5.1 output)
|
|
|
|
# AL_FORMAT_61CHN8 (8-bit 6.1 output)
|
|
|
|
# AL_FORMAT_71CHN8 (8-bit 7.1 output)
|
|
|
|
# AL_FORMAT_MONO16 (16-bit mono)
|
|
|
|
# AL_FORMAT_STEREO16 (16-bit stereo)
|
|
|
|
# AL_FORMAT_QUAD16 (16-bit 4-channel)
|
|
|
|
# AL_FORMAT_51CHN16 (16-bit 5.1 output)
|
|
|
|
# AL_FORMAT_61CHN16 (16-bit 6.1 output)
|
|
|
|
# AL_FORMAT_71CHN16 (16-bit 7.1 output)
|
2009-08-15 20:20:35 +00:00
|
|
|
# AL_FORMAT_MONO32 (32-bit float mono)
|
|
|
|
# AL_FORMAT_STEREO32 (32-bit float stereo)
|
|
|
|
# AL_FORMAT_QUAD32 (32-bit float 4-channel)
|
|
|
|
# AL_FORMAT_51CHN32 (32-bit float 5.1 output)
|
|
|
|
# AL_FORMAT_61CHN32 (32-bit float 6.1 output)
|
|
|
|
# AL_FORMAT_71CHN32 (32-bit float 7.1 output)
|
2009-05-18 05:24:29 +00:00
|
|
|
#format = AL_FORMAT_STEREO16
|
|
|
|
|
2011-05-01 21:16:05 +00:00
|
|
|
## hrtf:
|
|
|
|
# Enables HRTF filters. These filters provide for better sound spatialization
|
|
|
|
# while using headphones. The filters will only work when output is 44100hz
|
2011-05-18 22:13:11 +00:00
|
|
|
# stereo. While HRTF is active, the cf_level option is disabled. Default is
|
|
|
|
# disabled since stereo speaker output quality may suffer.
|
2011-05-01 21:16:05 +00:00
|
|
|
#hrtf = false
|
|
|
|
|
2009-05-18 05:24:29 +00:00
|
|
|
## cf_level:
|
|
|
|
# Sets the crossfeed level for stereo output. Valid values are:
|
|
|
|
# 0 - No crossfeed
|
|
|
|
# 1 - Low crossfeed
|
|
|
|
# 2 - Middle crossfeed
|
|
|
|
# 3 - High crossfeed (virtual speakers are closer to itself)
|
|
|
|
# 4 - Low easy crossfeed
|
|
|
|
# 5 - Middle easy crossfeed
|
|
|
|
# 6 - High easy crossfeed
|
|
|
|
# Users of headphones may want to try various settings. Has no effect on non-
|
|
|
|
# stereo modes.
|
|
|
|
#cf_level = 0
|
|
|
|
|
|
|
|
## frequency:
|
|
|
|
# Sets the output frequency.
|
|
|
|
#frequency = 44100
|
|
|
|
|
2010-01-11 13:37:20 +00:00
|
|
|
## resampler:
|
|
|
|
# Selects the resampler used when mixing sources. Valid values are:
|
|
|
|
# 0 - None (nearest sample, no interpolation)
|
|
|
|
# 1 - Linear (extrapolates samples using a linear slope between samples)
|
2010-11-26 07:05:44 +00:00
|
|
|
# 2 - Cubic (extrapolates samples using a Catmull-Rom spline)
|
2010-01-11 13:37:20 +00:00
|
|
|
# Specifying other values will result in using the default (linear).
|
|
|
|
#resampler = 1
|
|
|
|
|
2009-12-02 07:15:09 +00:00
|
|
|
## rt-prio:
|
|
|
|
# Sets real-time priority for the mixing thread. Not all drivers may use this
|
2010-07-18 06:30:25 +00:00
|
|
|
# (eg. PortAudio) as they already control the priority of the mixing thread.
|
2009-12-02 07:15:09 +00:00
|
|
|
# 0 and negative values will disable it. Note that this may constitute a
|
|
|
|
# security risk since a real-time priority thread can indefinitely block
|
|
|
|
# normal-priority threads if it fails to wait. As such, the default is
|
|
|
|
# disabled.
|
|
|
|
#rt-prio = 0
|
|
|
|
|
2009-09-17 05:58:54 +00:00
|
|
|
## period_size:
|
|
|
|
# Sets the update period size, in frames. This is the number of frames needed
|
2010-06-06 07:53:29 +00:00
|
|
|
# for each mixing update.
|
2009-09-17 05:58:54 +00:00
|
|
|
#period_size = 1024
|
|
|
|
|
|
|
|
## periods:
|
|
|
|
# Sets the number of update periods. Higher values create a larger mix ahead,
|
|
|
|
# which helps protect against skips when the CPU is under load, but increases
|
|
|
|
# the delay between a sound getting mixed and being heard.
|
|
|
|
#periods = 4
|
2009-05-18 05:24:29 +00:00
|
|
|
|
|
|
|
## sources:
|
|
|
|
# Sets the maximum number of allocatable sources. Lower values may help for
|
|
|
|
# systems with apps that try to play more sounds than the CPU can handle.
|
|
|
|
#sources = 256
|
|
|
|
|
|
|
|
## stereodup:
|
2011-05-15 07:18:28 +00:00
|
|
|
# Sets whether to duplicate stereo sounds behind the listener for 4+ channel
|
|
|
|
# output. This provides a "fuller" playback quality for surround sound output
|
|
|
|
# modes, although each individual speaker will have a slight reduction in
|
|
|
|
# volume to compensate for the extra output speakers. True, yes, on, and non-0
|
|
|
|
# values will duplicate stereo sources. 0 and anything else will cause stereo
|
|
|
|
# sounds to only play in front. This only has an effect when a suitable output
|
|
|
|
# format is used (ie. those that contain side and/or rear speakers).
|
2010-09-22 18:09:34 +00:00
|
|
|
#stereodup = true
|
2009-05-18 05:24:29 +00:00
|
|
|
|
|
|
|
## drivers:
|
|
|
|
# Sets the backend driver list order, comma-seperated. Unknown backends and
|
2009-11-22 23:43:05 +00:00
|
|
|
# duplicated names are ignored. Unlisted backends won't be considered for use
|
|
|
|
# unless the list is ended with a comma (eg. 'oss,' will list OSS first
|
|
|
|
# followed by all other available backends, while 'oss' will list OSS only).
|
2010-06-06 02:33:06 +00:00
|
|
|
# Backends prepended with - won't be available for use (eg. '-oss,' will allow
|
|
|
|
# all available backends except OSS). An empty list means the default.
|
2011-06-23 02:31:27 +00:00
|
|
|
#drivers = pulse,alsa,core,oss,solaris,sndio,mmdevapi,dsound,winmm,port,opensl,null,wave
|
2009-05-18 05:24:29 +00:00
|
|
|
|
|
|
|
## excludefx:
|
|
|
|
# Sets which effects to exclude, preventing apps from using them. This can
|
|
|
|
# help for apps that try to use effects which are too CPU intensive for the
|
2011-03-13 04:15:21 +00:00
|
|
|
# system to handle. Available effects are: eaxreverb,reverb,echo,modulator,
|
|
|
|
# dedicated
|
2009-05-18 05:24:29 +00:00
|
|
|
#excludefx =
|
|
|
|
|
|
|
|
## slots:
|
|
|
|
# Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
|
|
|
|
# can use a non-negligible amount of CPU time if an effect is set on it even
|
|
|
|
# if no sources are feeding it, so this may help when apps use more than the
|
|
|
|
# system can handle.
|
|
|
|
#slots = 4
|
|
|
|
|
|
|
|
## sends:
|
2010-11-06 22:08:54 +00:00
|
|
|
# Sets the number of auxiliary sends per source. When not specified (default),
|
|
|
|
# it allows the app to request how many it wants. The maximum value currently
|
|
|
|
# possible is 4.
|
|
|
|
#sends =
|
2009-05-18 05:24:29 +00:00
|
|
|
|
2010-04-08 22:41:32 +00:00
|
|
|
## layout:
|
|
|
|
# Sets the virtual speaker layout. Values are specified in degrees, where 0 is
|
|
|
|
# straight in front, negative goes left, and positive goes right. Unspecified
|
2010-04-11 21:23:10 +00:00
|
|
|
# speakers will remain at their default positions (which are dependant on the
|
|
|
|
# output format). Available speakers are back-left(bl), side-left(sl), front-
|
|
|
|
# left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
|
|
|
|
# and back-center(bc).
|
|
|
|
#layout =
|
2009-05-18 05:24:29 +00:00
|
|
|
|
2011-01-24 07:57:39 +00:00
|
|
|
## layout_*:
|
|
|
|
# Channel-specific layouts may be specified to override the layout option. The
|
|
|
|
# same speakers as the layout option are available, and the default settings
|
|
|
|
# are shown below.
|
|
|
|
#layout_STEREO = fl=-90, fr=90
|
|
|
|
#layout_QUAD = fl=-45, fr=45, bl=-135, br=135
|
|
|
|
#layout_51CHN = fl=-30, fr=30, fc=0, bl=-110, br=110
|
|
|
|
#layout_61CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
|
|
|
|
#layout_71CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
|
|
|
|
|
2011-07-21 05:26:16 +00:00
|
|
|
##
|
|
|
|
## Reverb effect stuff (includes EAX reverb)
|
|
|
|
##
|
|
|
|
[reverb]
|
|
|
|
|
|
|
|
## boost:
|
|
|
|
# A global amplification for reverb output, expressed in decibels. The value
|
|
|
|
# is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
|
|
|
|
# scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
|
|
|
|
# value of 0 means no change.
|
|
|
|
#boost = 0
|
|
|
|
|
2011-07-21 05:53:46 +00:00
|
|
|
## emulate-eax:
|
|
|
|
# Allows the standard reverb effect to be used in place of EAX reverb. EAX
|
|
|
|
# reverb processing is a bit more CPU intensive than standard, so this option
|
|
|
|
# allows a simpler effect to be used at the loss of some quality.
|
|
|
|
#emulate-eax = false
|
|
|
|
|
2009-05-18 05:24:29 +00:00
|
|
|
##
|
|
|
|
## ALSA backend stuff
|
|
|
|
##
|
|
|
|
[alsa]
|
|
|
|
|
|
|
|
## device:
|
|
|
|
# Sets the device name for the default playback device.
|
|
|
|
#device = default
|
|
|
|
|
|
|
|
## capture:
|
|
|
|
# Sets the device name for the default capture device.
|
|
|
|
#capture = default
|
|
|
|
|
|
|
|
## mmap:
|
|
|
|
# Sets whether to try using mmap mode (helps reduce latencies and CPU
|
|
|
|
# consumption). If mmap isn't available, it will automatically fall back to
|
|
|
|
# non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
|
|
|
|
# and anything else will force mmap off.
|
|
|
|
#mmap = true
|
|
|
|
|
|
|
|
##
|
|
|
|
## OSS backend stuff
|
|
|
|
##
|
|
|
|
[oss]
|
|
|
|
|
|
|
|
## device:
|
|
|
|
# Sets the device name for OSS output.
|
|
|
|
#device = /dev/dsp
|
|
|
|
|
|
|
|
## capture:
|
|
|
|
# Sets the device name for OSS capture.
|
|
|
|
#capture = /dev/dsp
|
|
|
|
|
|
|
|
##
|
|
|
|
## Solaris backend stuff
|
|
|
|
##
|
|
|
|
[solaris]
|
|
|
|
|
|
|
|
## device:
|
|
|
|
# Sets the device name for Solaris output.
|
|
|
|
#device = /dev/audio
|
|
|
|
|
2011-05-18 22:13:11 +00:00
|
|
|
##
|
|
|
|
## MMDevApi backend stuff
|
|
|
|
##
|
|
|
|
[mmdevapi]
|
|
|
|
|
2009-09-17 05:58:54 +00:00
|
|
|
##
|
2009-05-18 05:24:29 +00:00
|
|
|
## DirectSound backend stuff
|
2009-09-17 05:58:54 +00:00
|
|
|
##
|
2009-05-18 05:24:29 +00:00
|
|
|
[dsound]
|
|
|
|
|
|
|
|
##
|
|
|
|
## Windows Multimedia backend stuff
|
|
|
|
##
|
|
|
|
[winmm]
|
|
|
|
|
|
|
|
##
|
|
|
|
## PortAudio backend stuff
|
|
|
|
##
|
|
|
|
[port]
|
|
|
|
|
|
|
|
## device:
|
|
|
|
# Sets the device index for output. Negative values will use the default as
|
|
|
|
# given by PortAudio itself.
|
|
|
|
#device = -1
|
|
|
|
|
2010-03-18 08:58:25 +00:00
|
|
|
## capture:
|
|
|
|
# Sets the device index for capture. Negative values will use the default as
|
|
|
|
# given by PortAudio itself.
|
|
|
|
#capture = -1
|
|
|
|
|
2009-05-18 05:24:29 +00:00
|
|
|
##
|
|
|
|
## PulseAudio backend stuff
|
|
|
|
##
|
|
|
|
[pulse]
|
|
|
|
|
2009-12-28 18:49:31 +00:00
|
|
|
## spawn-server:
|
|
|
|
# Attempts to spawn a PulseAudio server when requesting to open a PulseAudio
|
|
|
|
# device. Note that some apps may open and probe all enumerated devices on
|
|
|
|
# startup, causing a server to spawn even if a PulseAudio device is not
|
|
|
|
# actually selected. Setting autospawn to false in Pulse's client.conf will
|
|
|
|
# still prevent autospawning even if this is set to true.
|
|
|
|
#spawn-server = false
|
|
|
|
|
2009-05-18 05:24:29 +00:00
|
|
|
##
|
|
|
|
## Wave File Writer stuff
|
|
|
|
##
|
|
|
|
[wave]
|
|
|
|
|
|
|
|
## file:
|
|
|
|
# Sets the filename of the wave file to write to. An empty name prevents the
|
|
|
|
# backend from opening, even when explicitly requested.
|
|
|
|
# THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
|
|
|
|
#file =
|