Ignore the listening angle for the wet path sound cones
[openal-soft.git] / alsoftrc.sample
blobf8127549cc45b9b82afd6bd31f3e2c2707070bb9
1 # OpenAL config file.
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:
27 ## General stuff
29 [general]
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.
37 #disable-cpu-exts =
39 ## drivers: (global)
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.
46 #drivers =
48 ## channels:
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
52 #channels =
54 ## sample-type:
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
66 ## frequency:
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.
69 #frequency =
71 ## period_size:
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.
74 #period_size = 1024
76 ## periods:
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.
81 #periods = 4
83 ## stereo-mode:
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.
87 #stereo-mode = auto
89 ## stereo-panning:
90 #  Specifies the panning method for non-HRTF stereo output. uhj (default)
91 #  creates stereo-compatible two-channel UHJ output, which encodes some
92 #  surround sound information, while paired uses standard pair-wise panning
93 #  between -30 and +30 degrees. If crossfeed filters are used, uhj panning is
94 #  disabled.
95 #stereo-panning = uhj
97 ## hrtf:
98 #  Controls HRTF processing. These filters provide better spatialization of
99 #  sounds while using headphones, but do require a bit more CPU power. The
100 #  default filters will only work with 44100hz or 48000hz stereo output. While
101 #  HRTF is used, the cf_level option is ignored. Setting this to auto (default)
102 #  will allow HRTF to be used when headphones are detected or the app requests
103 #  it, while setting true or false will forcefully enable or disable HRTF
104 #  respectively.
105 #hrtf = auto
107 ## default-hrtf:
108 #  Specifies the default HRTF to use. When multiple HRTFs are available, this
109 #  determines the preferred one to use if none are specifically requested. Note
110 #  that this is the enumerated HRTF name, not necessarily the filename.
111 #default-hrtf =
113 ## hrtf-paths:
114 #  Specifies a comma-separated list of paths containing HRTF data sets. The
115 #  format of the files are described in hrtf.txt. The files within the
116 #  directories must have the .mhr file extension to be recognized. By default,
117 #  OS-dependent data paths will be used. They will also be used if the list
118 #  ends with a comma. On Windows this is:
119 #  $AppData\openal\hrtf
120 #  And on other systems, it's (in order):
121 #  $XDG_DATA_HOME/openal/hrtf  (defaults to $HOME/.local/share/openal/hrtf)
122 #  $XDG_DATA_DIRS/openal/hrtf  (defaults to /usr/local/share/openal/hrtf and
123 #                               /usr/share/openal/hrtf)
124 #hrtf-paths =
126 ## cf_level:
127 #  Sets the crossfeed level for stereo output. Valid values are:
128 #  0 - No crossfeed
129 #  1 - Low crossfeed
130 #  2 - Middle crossfeed
131 #  3 - High crossfeed (virtual speakers are closer to itself)
132 #  4 - Low easy crossfeed
133 #  5 - Middle easy crossfeed
134 #  6 - High easy crossfeed
135 #  Users of headphones may want to try various settings. Has no effect on non-
136 #  stereo modes.
137 #cf_level = 0
139 ## resampler: (global)
140 #  Selects the resampler used when mixing sources. Valid values are:
141 #  point - nearest sample, no interpolation
142 #  linear - extrapolates samples using a linear slope between samples
143 #  sinc4 - extrapolates samples using a 4-point Sinc filter
144 #  sinc8 - extrapolates samples using an 8-point Sinc filter
145 #  bsinc - extrapolates samples using a band-limited Sinc filter (varying
146 #          between 12 and 24 points, with anti-aliasing)
147 #  Specifying other values will result in using the default (linear).
148 #resampler = linear
150 ## rt-prio: (global)
151 #  Sets real-time priority for the mixing thread. Not all drivers may use this
152 #  (eg. PortAudio) as they already control the priority of the mixing thread.
153 #  0 and negative values will disable it. Note that this may constitute a
154 #  security risk since a real-time priority thread can indefinitely block
155 #  normal-priority threads if it fails to wait. As such, the default is
156 #  disabled.
157 #rt-prio = 0
159 ## sources:
160 #  Sets the maximum number of allocatable sources. Lower values may help for
161 #  systems with apps that try to play more sounds than the CPU can handle.
162 #sources = 256
164 ## slots:
165 #  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
166 #  can use a non-negligible amount of CPU time if an effect is set on it even
167 #  if no sources are feeding it, so this may help when apps use more than the
168 #  system can handle.
169 #slots = 4
171 ## sends:
172 #  Sets the number of auxiliary sends per source. When not specified (default),
173 #  it allows the app to request how many it wants. The maximum value currently
174 #  possible is 4.
175 #sends =
177 ## excludefx: (global)
178 #  Sets which effects to exclude, preventing apps from using them. This can
179 #  help for apps that try to use effects which are too CPU intensive for the
180 #  system to handle. Available effects are: eaxreverb,reverb,chorus,compressor,
181 #  distortion,echo,equalizer,flanger,modulator,dedicated
182 #excludefx =
184 ## default-reverb: (global)
185 #  A reverb preset that applies by default to all sources on send 0
186 #  (applications that set their own slots on send 0 will override this).
187 #  Available presets are: None, Generic, PaddedCell, Room, Bathroom,
188 #  Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
189 #  CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
190 #  Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
191 #default-reverb =
193 ## trap-alc-error: (global)
194 #  Generates a SIGTRAP signal when an ALC device error is generated, on systems
195 #  that support it. This helps when debugging, while trying to find the cause
196 #  of a device error. On Windows, a breakpoint exception is generated.
197 #trap-alc-error = false
199 ## trap-al-error: (global)
200 #  Generates a SIGTRAP signal when an AL context error is generated, on systems
201 #  that support it. This helps when debugging, while trying to find the cause
202 #  of a context error. On Windows, a breakpoint exception is generated.
203 #trap-al-error = false
206 ## Ambisonic decoder stuff
208 [decoder]
210 ## hq-mode:
211 #  Enables a high-quality ambisonic decoder. This mode is capable of frequency-
212 #  dependent processing, creating a better reproduction of 3D sound rendering
213 #  over surround sound speakers. Enabling this also requires specifying decoder
214 #  configuration files for the appropriate speaker configuration you intend to
215 #  use (see the quad, surround51, etc options below). Currently, up to third-
216 #  order decoding is supported.
217 hq-mode = false
219 ## distance-comp:
220 #  Enables compensation for the speakers' relative distances to the listener.
221 #  This applies the necessary delays and attenuation to make the speakers
222 #  behave as though they are all equidistant, which is important for proper
223 #  playback of 3D sound rendering. Requires the high-quality ambisonic decoder,
224 #  as well as the proper distances to be specified in the decoder configuration
225 #  file.
226 distance-comp = true
228 ## quad:
229 #  Decoder configuration file for Quadrophonic channel output. See
230 #  alsoft_ambdec.txt for a description of the file format.
231 quad =
233 ## surround51:
234 #  Decoder configuration file for 5.1 Surround (Side) channel output. See
235 #  alsoft_ambdec.txt for a description of the file format.
236 surround51 =
238 ## surround51rear:
239 #  Decoder configuration file for 5.1 Surround (Rear) channel output. See
240 #  alsoft_ambdec.txt for a description of the file format.
241 surround51rear =
243 ## surround61:
244 #  Decoder configuration file for 6.1 Surround channel output. See
245 #  alsoft_ambdec.txt for a description of the file format.
246 surround61 =
248 ## surround71:
249 #  Decoder configuration file for 7.1 Surround channel output. See
250 #  alsoft_ambdec.txt for a description of the file format. Note: This can be
251 #  used to enable 3D7.1 with the appropriate configuration file and speaker
252 #  placement.
253 surround71 =
256 ## Reverb effect stuff (includes EAX reverb)
258 [reverb]
260 ## boost: (global)
261 #  A global amplification for reverb output, expressed in decibels. The value
262 #  is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
263 #  scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
264 #  value of 0 means no change.
265 #boost = 0
267 ## emulate-eax: (global)
268 #  Allows the standard reverb effect to be used in place of EAX reverb. EAX
269 #  reverb processing is a bit more CPU intensive than standard, so this option
270 #  allows a simpler effect to be used at the loss of some quality.
271 #emulate-eax = false
274 ## PulseAudio backend stuff
276 [pulse]
278 ## spawn-server: (global)
279 #  Attempts to autospawn a PulseAudio server whenever needed (initializing the
280 #  backend, enumerating devices, etc). Setting autospawn to false in Pulse's
281 #  client.conf will still prevent autospawning even if this is set to true.
282 #spawn-server = true
284 ## allow-moves: (global)
285 #  Allows PulseAudio to move active streams to different devices. Note that the
286 #  device specifier (seen by applications) will not be updated when this
287 #  occurs, and neither will the AL device configuration (sample rate, format,
288 #  etc).
289 #allow-moves = false
291 ## fix-rate:
292 #  Specifies whether to match the playback stream's sample rate to the device's
293 #  sample rate. Enabling this forces OpenAL Soft to mix sources and effects
294 #  directly to the actual output rate, avoiding a second resample pass by the
295 #  PulseAudio server.
296 #fix-rate = false
299 ## ALSA backend stuff
301 [alsa]
303 ## device: (global)
304 #  Sets the device name for the default playback device.
305 #device = default
307 ## device-prefix: (global)
308 #  Sets the prefix used by the discovered (non-default) playback devices. This
309 #  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
310 #  device index for the requested device name.
311 #device-prefix = plughw:
313 ## device-prefix-*: (global)
314 #  Card- and device-specific prefixes may be used to override the device-prefix
315 #  option. The option may specify the card id (eg, device-prefix-NVidia), or
316 #  the card id and device index (eg, device-prefix-NVidia-0). The card id is
317 #  case-sensitive.
318 #device-prefix- =
320 ## capture: (global)
321 #  Sets the device name for the default capture device.
322 #capture = default
324 ## capture-prefix: (global)
325 #  Sets the prefix used by the discovered (non-default) capture devices. This
326 #  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
327 #  device number for the requested device name.
328 #capture-prefix = plughw:
330 ## capture-prefix-*: (global)
331 #  Card- and device-specific prefixes may be used to override the
332 #  capture-prefix option. The option may specify the card id (eg,
333 #  capture-prefix-NVidia), or the card id and device index (eg,
334 #  capture-prefix-NVidia-0). The card id is case-sensitive.
335 #capture-prefix- =
337 ## mmap:
338 #  Sets whether to try using mmap mode (helps reduce latencies and CPU
339 #  consumption). If mmap isn't available, it will automatically fall back to
340 #  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
341 #  and anything else will force mmap off.
342 #mmap = true
344 ## allow-resampler:
345 #  Specifies whether to allow ALSA's built-in resampler. Enabling this will
346 #  allow the playback device to be set to a different sample rate than the
347 #  actual output, causing ALSA to apply its own resampling pass after OpenAL
348 #  Soft resamples and mixes the sources and effects for output.
349 #allow-resampler = false
352 ## OSS backend stuff
354 [oss]
356 ## device: (global)
357 #  Sets the device name for OSS output.
358 #device = /dev/dsp
360 ## capture: (global)
361 #  Sets the device name for OSS capture.
362 #capture = /dev/dsp
365 ## Solaris backend stuff
367 [solaris]
369 ## device: (global)
370 #  Sets the device name for Solaris output.
371 #device = /dev/audio
374 ## QSA backend stuff
376 [qsa]
379 ## JACK backend stuff
381 [jack]
383 ## spawn-server: (global)
384 #  Attempts to autospawn a JACK server whenever needed (initializing the
385 #  backend, opening devices, etc).
386 #spawn-server = false
388 ## buffer-size:
389 #  Sets the update buffer size, in samples, that the backend will keep buffered
390 #  to handle the server's real-time processing requests. This value must be a
391 #  power of 2, or else it will be rounded up to the next power of 2. If it is
392 #  less than JACK's buffer update size, it will be clamped. This option may
393 #  be useful in case the server's update size is too small and doesn't give the
394 #  mixer time to keep enough audio available for the processing requests.
395 #buffer-size = 0
398 ## MMDevApi backend stuff
400 [mmdevapi]
403 ## DirectSound backend stuff
405 [dsound]
408 ## Windows Multimedia backend stuff
410 [winmm]
413 ## PortAudio backend stuff
415 [port]
417 ## device: (global)
418 #  Sets the device index for output. Negative values will use the default as
419 #  given by PortAudio itself.
420 #device = -1
422 ## capture: (global)
423 #  Sets the device index for capture. Negative values will use the default as
424 #  given by PortAudio itself.
425 #capture = -1
428 ## Wave File Writer stuff
430 [wave]
432 ## file: (global)
433 #  Sets the filename of the wave file to write to. An empty name prevents the
434 #  backend from opening, even when explicitly requested.
435 #  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
436 #file =
438 ## bformat: (global)
439 #  Creates AMB format files using first-order ambisonics instead of a standard
440 #  single- or multi-channel .wav file.
441 #bformat = false