3 # Option blocks may appear multiple times, and duplicated options will take the
4 # last value specified. Environment variables may be specified within option
5 # values, and are automatically substituted when the config file is loaded.
6 # Environment variable names may only contain alpha-numeric characters (a-z,
7 # A-Z, 0-9) and underscores (_), and are prefixed with $. For example,
8 # specifying "$HOME/file.ext" would typically result in something like
9 # "/home/user/file.ext". To specify an actual "$" character, use "$$".
11 # Device-specific values may be specified by including the device name in the
12 # block name, with "general" replaced by the device name. That is, general
13 # options for the device "Name of Device" would be in the [Name of Device]
14 # block, while ALSA options would be in the [alsa/Name of Device] block.
15 # Options marked as "(global)" are not influenced by the device.
17 # The system-wide settings can be put in /etc/openal/alsoft.conf and user-
18 # specific override settings in $HOME/.alsoftrc.
19 # For Windows, these settings should go into $AppData\alsoft.ini
21 # Option and block names are case-senstive. The supplied values are only hints
22 # and may not be honored (though generally it'll try to get as close as
23 # possible). Note: options that are left unset may default to app- or system-
24 # specified values. These are the current available settings:
31 ## disable-cpu-exts: (global)
32 # Disables use of specialized methods that use specific CPU intrinsics.
33 # Certain methods may utilize CPU extensions for improved performance, and
34 # this option is useful for preventing some or all of those methods from being
35 # used. The available extensions are: sse, sse2, sse3, sse4.1, and neon.
36 # Specifying 'all' disables use of all such specialized methods.
40 # Sets the backend driver list order, comma-seperated. Unknown backends and
41 # duplicated names are ignored. Unlisted backends won't be considered for use
42 # unless the list is ended with a comma (e.g. 'oss,' will try OSS first before
43 # other backends, while 'oss' will try OSS only). Backends prepended with -
44 # won't be considered for use (e.g. '-oss,' will try all available backends
45 # except OSS). An empty list means to try all backends.
49 # Sets the output channel configuration. If left unspecified, one will try to
50 # be detected from the system, and defaulting to stereo. The available values
51 # are: mono, stereo, quad, surround51, surround51rear, surround61, surround71
55 # Sets the output sample type. Currently, all mixing is done with 32-bit float
56 # and converted to the output sample type as needed. Available values are:
57 # int8 - signed 8-bit int
58 # uint8 - unsigned 8-bit int
59 # int16 - signed 16-bit int
60 # uint16 - unsigned 16-bit int
61 # int32 - signed 32-bit int
62 # uint32 - unsigned 32-bit int
63 # float32 - 32-bit float
64 #sample-type = float32
67 # Sets the output frequency. If left unspecified it will try to detect a
68 # default from the system, otherwise it will default to 44100.
72 # Sets the update period size, in frames. This is the number of frames needed
73 # for each mixing update. Acceptable values range between 64 and 8192.
77 # Sets the number of update periods. Higher values create a larger mix ahead,
78 # which helps protect against skips when the CPU is under load, but increases
79 # the delay between a sound getting mixed and being heard. Acceptable values
80 # range between 2 and 16.
84 # Specifies if stereo output is treated as being headphones or speakers. With
85 # headphones, HRTF or crossfeed filters may be used for better audio quality.
86 # Valid settings are auto, speakers, and headphones.
90 # Controls HRTF processing. These filters provide better spatialization of
91 # sounds while using headphones, but do require a bit more CPU power. The
92 # default filters will only work with 44100hz or 48000hz stereo output. While
93 # HRTF is used, the cf_level option is ignored. Setting this to auto (default)
94 # will allow HRTF to be used when headphones are detected or the app requests
95 # it, while setting true or false will forcefully enable or disable HRTF
100 # Specifies the default HRTF to use. When multiple HRTFs are available, this
101 # determines the preferred one to use if none are specifically requested. Note
102 # that this is the enumerated HRTF name, not necessarily the filename.
106 # Specifies a comma-separated list of files containing HRTF data sets. The
107 # format of the files are described in hrtf.txt. The filenames may contain
108 # these markers, which will be replaced as needed:
109 # %r - Device sampling rate
110 # %s - Non-greedy string (up to the following matching characters)
111 # %% - Percent sign (%)
112 # The listed files are relative to system-dependant data directories. On
114 # $AppData\openal\hrtf
115 # And on other systems, it's (in order):
116 # $XDG_DATA_HOME/openal/hrtf (defaults to $HOME/.local/share/openal/hrtf)
117 # $XDG_DATA_DIRS/openal/hrtf (defaults to /usr/local/share/openal/hrtf and
118 # /usr/share/openal/hrtf)
119 # An absolute path may also be specified, if the given file is elsewhere.
120 #hrtf_tables = %s.mhr
123 # Sets the crossfeed level for stereo output. Valid values are:
126 # 2 - Middle crossfeed
127 # 3 - High crossfeed (virtual speakers are closer to itself)
128 # 4 - Low easy crossfeed
129 # 5 - Middle easy crossfeed
130 # 6 - High easy crossfeed
131 # Users of headphones may want to try various settings. Has no effect on non-
135 ## resampler: (global)
136 # Selects the resampler used when mixing sources. Valid values are:
137 # point - nearest sample, no interpolation
138 # linear - extrapolates samples using a linear slope between samples
139 # sinc4 - extrapolates samples using a 4-point Sinc filter
140 # sinc8 - extrapolates samples using an 8-point Sinc filter
141 # bsinc - extrapolates samples using a band-limited Sinc filter (varying
142 # between 12 and 24 points, with anti-aliasing)
143 # Specifying other values will result in using the default (linear).
147 # Sets real-time priority for the mixing thread. Not all drivers may use this
148 # (eg. PortAudio) as they already control the priority of the mixing thread.
149 # 0 and negative values will disable it. Note that this may constitute a
150 # security risk since a real-time priority thread can indefinitely block
151 # normal-priority threads if it fails to wait. As such, the default is
156 # Sets the maximum number of allocatable sources. Lower values may help for
157 # systems with apps that try to play more sounds than the CPU can handle.
161 # Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
162 # can use a non-negligible amount of CPU time if an effect is set on it even
163 # if no sources are feeding it, so this may help when apps use more than the
168 # Sets the number of auxiliary sends per source. When not specified (default),
169 # it allows the app to request how many it wants. The maximum value currently
173 ## excludefx: (global)
174 # Sets which effects to exclude, preventing apps from using them. This can
175 # help for apps that try to use effects which are too CPU intensive for the
176 # system to handle. Available effects are: eaxreverb,reverb,chorus,compressor,
177 # distortion,echo,equalizer,flanger,modulator,dedicated
180 ## default-reverb: (global)
181 # A reverb preset that applies by default to all sources on send 0
182 # (applications that set their own slots on send 0 will override this).
183 # Available presets are: None, Generic, PaddedCell, Room, Bathroom,
184 # Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
185 # CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
186 # Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
189 ## trap-alc-error: (global)
190 # Generates a SIGTRAP signal when an ALC device error is generated, on systems
191 # that support it. This helps when debugging, while trying to find the cause
192 # of a device error. On Windows, a breakpoint exception is generated.
193 #trap-alc-error = false
195 ## trap-al-error: (global)
196 # Generates a SIGTRAP signal when an AL context error is generated, on systems
197 # that support it. This helps when debugging, while trying to find the cause
198 # of a context error. On Windows, a breakpoint exception is generated.
199 #trap-al-error = false
202 ## Reverb effect stuff (includes EAX reverb)
207 # A global amplification for reverb output, expressed in decibels. The value
208 # is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
209 # scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
210 # value of 0 means no change.
213 ## emulate-eax: (global)
214 # Allows the standard reverb effect to be used in place of EAX reverb. EAX
215 # reverb processing is a bit more CPU intensive than standard, so this option
216 # allows a simpler effect to be used at the loss of some quality.
220 ## PulseAudio backend stuff
224 ## spawn-server: (global)
225 # Attempts to autospawn a PulseAudio server whenever needed (initializing the
226 # backend, enumerating devices, etc). Setting autospawn to false in Pulse's
227 # client.conf will still prevent autospawning even if this is set to true.
230 ## allow-moves: (global)
231 # Allows PulseAudio to move active streams to different devices. Note that the
232 # device specifier (seen by applications) will not be updated when this
233 # occurs, and neither will the AL device configuration (sample rate, format,
238 # Specifies whether to match the playback stream's sample rate to the device's
239 # sample rate. Enabling this forces OpenAL Soft to mix sources and effects
240 # directly to the actual output rate, avoiding a second resample pass by the
245 ## ALSA backend stuff
250 # Sets the device name for the default playback device.
253 ## device-prefix: (global)
254 # Sets the prefix used by the discovered (non-default) playback devices. This
255 # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
256 # device index for the requested device name.
257 #device-prefix = plughw:
259 ## device-prefix-*: (global)
260 # Card- and device-specific prefixes may be used to override the device-prefix
261 # option. The option may specify the card id (eg, device-prefix-NVidia), or
262 # the card id and device index (eg, device-prefix-NVidia-0). The card id is
267 # Sets the device name for the default capture device.
270 ## capture-prefix: (global)
271 # Sets the prefix used by the discovered (non-default) capture devices. This
272 # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
273 # device number for the requested device name.
274 #capture-prefix = plughw:
276 ## capture-prefix-*: (global)
277 # Card- and device-specific prefixes may be used to override the
278 # capture-prefix option. The option may specify the card id (eg,
279 # capture-prefix-NVidia), or the card id and device index (eg,
280 # capture-prefix-NVidia-0). The card id is case-sensitive.
284 # Sets whether to try using mmap mode (helps reduce latencies and CPU
285 # consumption). If mmap isn't available, it will automatically fall back to
286 # non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
287 # and anything else will force mmap off.
291 # Specifies whether to allow ALSA's built-in resampler. Enabling this will
292 # allow the playback device to be set to a different sample rate than the
293 # actual output, causing ALSA to apply its own resampling pass after OpenAL
294 # Soft resamples and mixes the sources and effects for output.
295 #allow-resampler = false
303 # Sets the device name for OSS output.
307 # Sets the device name for OSS capture.
311 ## Solaris backend stuff
316 # Sets the device name for Solaris output.
325 ## JACK backend stuff
329 ## spawn-server: (global)
330 # Attempts to autospawn a JACK server whenever needed (initializing the
331 # backend, opening devices, etc).
332 #spawn-server = false
335 # Sets the update buffer size, in samples, that the backend will keep buffered
336 # to handle the server's real-time processing requests. This value must be a
337 # power of 2, or else it will be rounded up to the next power of 2. If it is
338 # less than JACK's buffer update size, it will be clamped. This option may
339 # be useful in case the server's update size is too small and doesn't give the
340 # mixer time to keep enough audio available for the processing requests.
344 ## MMDevApi backend stuff
349 ## DirectSound backend stuff
354 ## Windows Multimedia backend stuff
359 ## PortAudio backend stuff
364 # Sets the device index for output. Negative values will use the default as
365 # given by PortAudio itself.
369 # Sets the device index for capture. Negative values will use the default as
370 # given by PortAudio itself.
374 ## Wave File Writer stuff
379 # Sets the filename of the wave file to write to. An empty name prevents the
380 # backend from opening, even when explicitly requested.
381 # THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
385 # Creates AMB format files using first-order ambisonics instead of a standard
386 # single- or multi-channel .wav file.