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 # The system-wide settings can be put in /etc/openal/alsoft.conf and user-
12 # specific override settings in $HOME/.alsoftrc.
13 # For Windows, these settings should go into $AppData\alsoft.ini
15 # Option and block names are case-insenstive. The supplied values are only
16 # hints and may not be honored (though generally it'll try to get as close as
17 # possible). Note: options that are left unset may default to app- or system-
18 # specified values. These are the current available settings:
26 # Disables use of the listed CPU extensions. Certain methods may utilize CPU
27 # extensions when detected, and this option is useful for preventing those
28 # extensions from being used. The available extensions are: sse, sse2, neon.
29 # Specifying 'all' disables use of all extensions.
33 # Sets the output channel configuration. If left unspecified, one will try to
34 # be detected from the system, and defaulting to stereo. The available values
35 # are: mono, stereo, quad, surround51, surround61, surround71
39 # Sets the output sample type. Currently, all mixing is done with 32-bit float
40 # and converted to the output sample type as needed. Available values are:
41 # int8 - signed 8-bit int
42 # uint8 - unsigned 8-bit int
43 # int16 - signed 16-bit int
44 # uint16 - unsigned 16-bit int
45 # int32 - signed 32-bit int
46 # uint32 - unsigned 32-bit int
47 # float32 - 32-bit float
48 #sample-type = float32
51 # Enables HRTF filters. These filters provide for better sound spatialization
52 # while using headphones. The default filter will only work when output is
53 # 44100hz stereo. While HRTF is active, the cf_level option is disabled.
54 # Default is disabled since stereo speaker output quality may suffer.
58 # Specifies a comma-separated list of files containing HRTF data sets. The
59 # format of the files are described in hrtf.txt. The filenames may contain
60 # these markers, which will be replaced as needed:
61 # %r - Device sampling rate
62 # %% - Percent sign (%)
63 # The listed files are relative to system-dependant data directories. On
65 # $AppData\openal\hrtf
66 # And on other systems, it's (in order):
67 # $XDG_DATA_HOME/openal/hrtf (defaults to $HOME/.local/share/openal/hrtf)
68 # $XDG_DATA_DIRS/openal/hrtf (defaults to /usr/local/share/openal/hrtf and
69 # /usr/share/openal/hrtf)
70 # An absolute path may also be specified, if the given file is elsewhere.
71 #hrtf_tables = default-%r.mhr
74 # Sets the crossfeed level for stereo output. Valid values are:
77 # 2 - Middle crossfeed
78 # 3 - High crossfeed (virtual speakers are closer to itself)
79 # 4 - Low easy crossfeed
80 # 5 - Middle easy crossfeed
81 # 6 - High easy crossfeed
82 # Users of headphones may want to try various settings. Has no effect on non-
87 # Specifies that stereo sources are given a width of about 120 degrees on each
88 # channel, centering on -90 (left) and +90 (right), as opposed to being points
89 # placed at -30 (left) and +30 (right). This can be useful for surround-sound
90 # to give stereo sources a more encompassing sound. Note that the sound's
91 # overall volume will be slightly reduced to account for the extra output.
95 # Sets the output frequency. If left unspecified it will try to detect a
96 # default from the system, otherwise it will default to 44100.
100 # Selects the resampler used when mixing sources. Valid values are:
101 # point - nearest sample, no interpolation
102 # linear - extrapolates samples using a linear slope between samples
103 # cubic - extrapolates samples using a Catmull-Rom spline
104 # Specifying other values will result in using the default (linear).
108 # Sets real-time priority for the mixing thread. Not all drivers may use this
109 # (eg. PortAudio) as they already control the priority of the mixing thread.
110 # 0 and negative values will disable it. Note that this may constitute a
111 # security risk since a real-time priority thread can indefinitely block
112 # normal-priority threads if it fails to wait. As such, the default is
117 # Sets the update period size, in frames. This is the number of frames needed
118 # for each mixing update. Acceptable values range between 64 and 8192.
122 # Sets the number of update periods. Higher values create a larger mix ahead,
123 # which helps protect against skips when the CPU is under load, but increases
124 # the delay between a sound getting mixed and being heard. Acceptable values
125 # range between 2 and 16.
129 # Sets the maximum number of allocatable sources. Lower values may help for
130 # systems with apps that try to play more sounds than the CPU can handle.
134 # Sets the backend driver list order, comma-seperated. Unknown backends and
135 # duplicated names are ignored. Unlisted backends won't be considered for use
136 # unless the list is ended with a comma (e.g. 'oss,' will try OSS first before
137 # other backends, while 'oss' will try OSS only). Backends prepended with -
138 # won't be considered for use (e.g. '-oss,' will try all available backends
139 # except OSS). An empty list means to try all backends.
143 # Sets which effects to exclude, preventing apps from using them. This can
144 # help for apps that try to use effects which are too CPU intensive for the
145 # system to handle. Available effects are: eaxreverb,reverb,autowah,chorus,
146 # compressor,distortion,echo,equalizer,flanger,modulator,dedicated
150 # Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
151 # can use a non-negligible amount of CPU time if an effect is set on it even
152 # if no sources are feeding it, so this may help when apps use more than the
157 # Sets the number of auxiliary sends per source. When not specified (default),
158 # it allows the app to request how many it wants. The maximum value currently
163 # Sets the virtual speaker layout. Values are specified in degrees, where 0 is
164 # straight in front, negative goes left, and positive goes right. Unspecified
165 # speakers will remain at their default positions (which are dependant on the
166 # output format). Available speakers are back-left(bl), side-left(sl), front-
167 # left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
168 # and back-center(bc).
172 # Channel-specific layouts may be specified to override the layout option. The
173 # same speakers as the layout option are available, and the default settings
175 #layout_stereo = fl=-90, fr=90
176 #layout_quad = fl=-45, fr=45, bl=-135, br=135
177 #layout_surround51 = fl=-30, fr=30, fc=0, bl=-110, br=110
178 #layout_surround61 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
179 #layout_surround71 = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
182 # A reverb preset that applies by default to all sources on send 0
183 # (applications that set their own slots on send 0 will override this).
184 # Available presets are: None, Generic, PaddedCell, Room, Bathroom,
185 # Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
186 # CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
187 # Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
191 # Generates a SIGTRAP signal when an ALC device error is generated, on systems
192 # that support it. This helps when debugging, while trying to find the cause
193 # of a device error. On Windows, a breakpoint exception is generated.
194 #trap-alc-error = false
197 # Generates a SIGTRAP signal when an AL context error is generated, on systems
198 # that support it. This helps when debugging, while trying to find the cause
199 # of a context error. On Windows, a breakpoint exception is generated.
200 #trap-al-error = false
203 ## MIDI stuff (EXPERIMENTAL)
208 # A default soundfont (sf2 format). Used when an app requests the system
209 # default. The listed file is relative to system-dependant data directories.
210 # On Windows this is:
211 # $AppData\openal\soundfonts
212 # And on other systems, it's (in order):
213 # $XDG_DATA_HOME/openal/soundfonts
214 # $XDG_DATA_DIRS/openal/soundfonts
215 # An absolute path may also be specified, if the given file is elsewhere.
219 # Additional attenuation applied to MIDI output, expressed in decibels. This
220 # is used to help keep the mix from clipping, and so must be 0 or less. The
221 # value is logarithmic, so -6 will be about half amplitude, and -12 about
222 # 1/4th. The default is roughly -13.9794 (0.2, or 1/5th).
226 ## Reverb effect stuff (includes EAX reverb)
231 # A global amplification for reverb output, expressed in decibels. The value
232 # is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
233 # scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
234 # value of 0 means no change.
238 # Allows the standard reverb effect to be used in place of EAX reverb. EAX
239 # reverb processing is a bit more CPU intensive than standard, so this option
240 # allows a simpler effect to be used at the loss of some quality.
244 ## PulseAudio backend stuff
249 # Attempts to autospawn a PulseAudio server whenever needed (initializing the
250 # backend, enumerating devices, etc). Setting autospawn to false in Pulse's
251 # client.conf will still prevent autospawning even if this is set to true.
255 # Allows PulseAudio to move active streams to different devices. Note that the
256 # device specifier (seen by applications) will not be updated when this
257 # occurs, and neither will the AL device configuration (sample rate, format,
262 ## ALSA backend stuff
267 # Sets the device name for the default playback device.
271 # Sets the prefix used by the discovered (non-default) playback devices. This
272 # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
273 # device index for the requested device name.
274 #device-prefix = plughw:
277 # Card- and device-specific prefixes may be used to override the device-prefix
278 # option. The option may specify the card id (eg, device-prefix-NVidia), or
279 # the card id and device index (eg, device-prefix-NVidia-0). The card id is
284 # Sets the device name for the default capture device.
288 # Sets the prefix used by the discovered (non-default) capture devices. This
289 # will be appended with "CARD=c,DEV=d", where c is the card id and d is the
290 # device number for the requested device name.
291 #capture-prefix = plughw:
294 # Card- and device-specific prefixes may be used to override the
295 # capture-prefix option. The option may specify the card id (eg,
296 # capture-prefix-NVidia), or the card id and device index (eg,
297 # capture-prefix-NVidia-0). The card id is case-sensitive.
301 # Sets whether to try using mmap mode (helps reduce latencies and CPU
302 # consumption). If mmap isn't available, it will automatically fall back to
303 # non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
304 # and anything else will force mmap off.
313 # Sets the device name for OSS output.
317 # Sets the device name for OSS capture.
321 ## Solaris backend stuff
326 # Sets the device name for Solaris output.
335 # Sets the device name for the default playback device.
339 # Sets the device name for the default capture device.
343 ## MMDevApi backend stuff
348 ## DirectSound backend stuff
353 ## Windows Multimedia backend stuff
358 ## PortAudio backend stuff
363 # Sets the device index for output. Negative values will use the default as
364 # given by PortAudio itself.
368 # Sets the device index for capture. Negative values will use the default as
369 # given by PortAudio itself.
373 ## Wave File Writer stuff
378 # Sets the filename of the wave file to write to. An empty name prevents the
379 # backend from opening, even when explicitly requested.
380 # THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!