Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# OpenAL config file.
2
#
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 "$$".
10
#
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.
16
#
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
20
#
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:
25
 
26
##
27
## General stuff
28
##
29
[general]
30
 
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 =
38
 
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 =
47
 
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
#  ambi1, ambi2, ambi3. Note that the ambi* configurations provide ambisonic
53
#  channels of the given order (using ACN ordering and SN3D normalization by
54
#  default), which need to be decoded to play correctly on speakers.
55
#channels =
56
 
57
## sample-type:
58
#  Sets the output sample type. Currently, all mixing is done with 32-bit float
59
#  and converted to the output sample type as needed. Available values are:
60
#  int8    - signed 8-bit int
61
#  uint8   - unsigned 8-bit int
62
#  int16   - signed 16-bit int
63
#  uint16  - unsigned 16-bit int
64
#  int32   - signed 32-bit int
65
#  uint32  - unsigned 32-bit int
66
#  float32 - 32-bit float
67
#sample-type = float32
68
 
69
## frequency:
70
#  Sets the output frequency. If left unspecified it will try to detect a
71
#  default from the system, otherwise it will default to 44100.
72
#frequency =
73
 
74
## period_size:
75
#  Sets the update period size, in frames. This is the number of frames needed
76
#  for each mixing update. Acceptable values range between 64 and 8192.
77
#period_size = 1024
78
 
79
## periods:
80
#  Sets the number of update periods. Higher values create a larger mix ahead,
81
#  which helps protect against skips when the CPU is under load, but increases
82
#  the delay between a sound getting mixed and being heard. Acceptable values
83
#  range between 2 and 16.
84
#periods = 3
85
 
86
## stereo-mode:
87
#  Specifies if stereo output is treated as being headphones or speakers. With
88
#  headphones, HRTF or crossfeed filters may be used for better audio quality.
89
#  Valid settings are auto, speakers, and headphones.
90
#stereo-mode = auto
91
 
92
## stereo-encoding:
93
#  Specifies the encoding method for non-HRTF stereo output. 'panpot' (default)
94
#  uses standard amplitude panning (aka pair-wise, stereo pair, etc) between
95
#  -30 and +30 degrees, while 'uhj' creates stereo-compatible two-channel UHJ
96
#  output, which encodes some surround sound information into stereo output
97
#  that can be decoded with a surround sound receiver. If crossfeed filters are
98
#  used, UHJ is disabled.
99
#stereo-encoding = panpot
100
 
101
## ambi-format:
102
#  Specifies the channel order and normalization for the "ambi*" set of channel
103
#  configurations. Valid settings are: fuma, acn+sn3d, acn+n3d
104
#ambi-format = acn+sn3d
105
 
106
## hrtf:
107
#  Controls HRTF processing. These filters provide better spatialization of
108
#  sounds while using headphones, but do require a bit more CPU power. The
109
#  default filters will only work with 44100hz or 48000hz stereo output. While
110
#  HRTF is used, the cf_level option is ignored. Setting this to auto (default)
111
#  will allow HRTF to be used when headphones are detected or the app requests
112
#  it, while setting true or false will forcefully enable or disable HRTF
113
#  respectively.
114
#hrtf = auto
115
 
116
## default-hrtf:
117
#  Specifies the default HRTF to use. When multiple HRTFs are available, this
118
#  determines the preferred one to use if none are specifically requested. Note
119
#  that this is the enumerated HRTF name, not necessarily the filename.
120
#default-hrtf =
121
 
122
## hrtf-paths:
123
#  Specifies a comma-separated list of paths containing HRTF data sets. The
124
#  format of the files are described in docs/hrtf.txt. The files within the
125
#  directories must have the .mhr file extension to be recognized. By default,
126
#  OS-dependent data paths will be used. They will also be used if the list
127
#  ends with a comma. On Windows this is:
128
#  $AppData\openal\hrtf
129
#  And on other systems, it's (in order):
130
#  $XDG_DATA_HOME/openal/hrtf  (defaults to $HOME/.local/share/openal/hrtf)
131
#  $XDG_DATA_DIRS/openal/hrtf  (defaults to /usr/local/share/openal/hrtf and
132
#                               /usr/share/openal/hrtf)
133
#hrtf-paths =
134
 
135
## cf_level:
136
#  Sets the crossfeed level for stereo output. Valid values are:
137
#  0 - No crossfeed
138
#  1 - Low crossfeed
139
#  2 - Middle crossfeed
140
#  3 - High crossfeed (virtual speakers are closer to itself)
141
#  4 - Low easy crossfeed
142
#  5 - Middle easy crossfeed
143
#  6 - High easy crossfeed
144
#  Users of headphones may want to try various settings. Has no effect on non-
145
#  stereo modes.
146
#cf_level = 0
147
 
148
## resampler: (global)
149
#  Selects the resampler used when mixing sources. Valid values are:
150
#  point - nearest sample, no interpolation
151
#  linear - extrapolates samples using a linear slope between samples
152
#  sinc4 - extrapolates samples using a 4-point Sinc filter
153
#  bsinc - extrapolates samples using a band-limited Sinc filter (varying
154
#          between 12 and 24 points, with anti-aliasing)
155
#  Specifying other values will result in using the default (linear).
156
#resampler = linear
157
 
158
## rt-prio: (global)
159
#  Sets real-time priority for the mixing thread. Not all drivers may use this
160
#  (eg. PortAudio) as they already control the priority of the mixing thread.
161
#  0 and negative values will disable it. Note that this may constitute a
162
#  security risk since a real-time priority thread can indefinitely block
163
#  normal-priority threads if it fails to wait. As such, the default is
164
#  disabled.
165
#rt-prio = 0
166
 
167
## sources:
168
#  Sets the maximum number of allocatable sources. Lower values may help for
169
#  systems with apps that try to play more sounds than the CPU can handle.
170
#sources = 256
171
 
172
## slots:
173
#  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
174
#  can use a non-negligible amount of CPU time if an effect is set on it even
175
#  if no sources are feeding it, so this may help when apps use more than the
176
#  system can handle.
177
#slots = 64
178
 
179
## sends:
180
#  Limits the number of auxiliary sends allowed per source. Setting this higher
181
#  than the default has no effect.
182
#sends = 16
183
 
184
## output-limiter:
185
#  Applies a gain limiter on the final mixed output. This reduces the volume
186
#  when the output samples would otherwise clamp, avoiding excessive clipping
187
#  noise.
188
#output-limiter = true
189
 
190
## dither:
191
#  Applies dithering on the final mix, for 8- and 16-bit output by default.
192
#  This replaces the distortion created by nearest-value quantization with low-
193
#  level whitenoise.
194
#dither = true
195
 
196
## dither-depth:
197
#  Quantization bit-depth for dithered output. A value of 0 (or less) will
198
#  match the output sample depth. For int32, uint32, and float32 output, 0 will
199
#  disable dithering because they're at or beyond the rendered precision. The
200
#  maximum dither depth is 24.
201
#dither-depth = 0
202
 
203
## volume-adjust:
204
#  A global volume adjustment for source output, expressed in decibels. The
205
#  value is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will
206
#  be a scale of 4x, etc. Similarly, -6 will be x1/2, and -12 is about x1/4. A
207
#  value of 0 means no change.
208
#volume-adjust = 0
209
 
210
## excludefx: (global)
211
#  Sets which effects to exclude, preventing apps from using them. This can
212
#  help for apps that try to use effects which are too CPU intensive for the
213
#  system to handle. Available effects are: eaxreverb,reverb,chorus,compressor,
214
#  distortion,echo,equalizer,flanger,modulator,dedicated
215
#excludefx =
216
 
217
## default-reverb: (global)
218
#  A reverb preset that applies by default to all sources on send 0
219
#  (applications that set their own slots on send 0 will override this).
220
#  Available presets are: None, Generic, PaddedCell, Room, Bathroom,
221
#  Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
222
#  CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
223
#  Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
224
#default-reverb =
225
 
226
## trap-alc-error: (global)
227
#  Generates a SIGTRAP signal when an ALC device error is generated, on systems
228
#  that support it. This helps when debugging, while trying to find the cause
229
#  of a device error. On Windows, a breakpoint exception is generated.
230
#trap-alc-error = false
231
 
232
## trap-al-error: (global)
233
#  Generates a SIGTRAP signal when an AL context error is generated, on systems
234
#  that support it. This helps when debugging, while trying to find the cause
235
#  of a context error. On Windows, a breakpoint exception is generated.
236
#trap-al-error = false
237
 
238
##
239
## Ambisonic decoder stuff
240
##
241
[decoder]
242
 
243
## hq-mode:
244
#  Enables a high-quality ambisonic decoder. This mode is capable of frequency-
245
#  dependent processing, creating a better reproduction of 3D sound rendering
246
#  over surround sound speakers. Enabling this also requires specifying decoder
247
#  configuration files for the appropriate speaker configuration you intend to
248
#  use (see the quad, surround51, etc options below). Currently, up to third-
249
#  order decoding is supported.
250
hq-mode = false
251
 
252
## distance-comp:
253
#  Enables compensation for the speakers' relative distances to the listener.
254
#  This applies the necessary delays and attenuation to make the speakers
255
#  behave as though they are all equidistant, which is important for proper
256
#  playback of 3D sound rendering. Requires the proper distances to be
257
#  specified in the decoder configuration file.
258
distance-comp = true
259
 
260
## nfc:
261
#  Enables near-field control filters. This simulates and compensates for low-
262
#  frequency effects caused by the curvature of nearby sound-waves, which
263
#  creates a more realistic perception of sound distance. Note that the effect
264
#  may be stronger or weaker than intended if the application doesn't use or
265
#  specify an appropriate unit scale, or if incorrect speaker distances are set
266
#  in the decoder configuration file. Requires hq-mode to be enabled.
267
nfc = true
268
 
269
## nfc-ref-delay
270
#  Specifies the reference delay value for ambisonic output. When channels is
271
#  set to one of the ambi* formats, this option enables NFC-HOA output with the
272
#  specified Reference Delay parameter. The specified value can then be shared
273
#  with an appropriate NFC-HOA decoder to reproduce correct near-field effects.
274
#  Keep in mind that despite being designed for higher-order ambisonics, this
275
#  applies to first-order output all the same. When left unset, normal output
276
#  is created with no near-field simulation.
277
nfc-ref-delay =
278
 
279
## quad:
280
#  Decoder configuration file for Quadrophonic channel output. See
281
#  docs/ambdec.txt for a description of the file format.
282
quad =
283
 
284
## surround51:
285
#  Decoder configuration file for 5.1 Surround (Side and Rear) channel output.
286
#  See docs/ambdec.txt for a description of the file format.
287
surround51 =
288
 
289
## surround61:
290
#  Decoder configuration file for 6.1 Surround channel output. See
291
#  docs/ambdec.txt for a description of the file format.
292
surround61 =
293
 
294
## surround71:
295
#  Decoder configuration file for 7.1 Surround channel output. See
296
#  docs/ambdec.txt for a description of the file format. Note: This can be used
297
#  to enable 3D7.1 with the appropriate configuration and speaker placement,
298
#  see docs/3D7.1.txt.
299
surround71 =
300
 
301
##
302
## Reverb effect stuff (includes EAX reverb)
303
##
304
[reverb]
305
 
306
## boost: (global)
307
#  A global amplification for reverb output, expressed in decibels. The value
308
#  is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
309
#  scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
310
#  value of 0 means no change.
311
#boost = 0
312
 
313
## emulate-eax: (global)
314
#  Allows the standard reverb effect to be used in place of EAX reverb. EAX
315
#  reverb processing is a bit more CPU intensive than standard, so this option
316
#  allows a simpler effect to be used at the loss of some quality.
317
#emulate-eax = false
318
 
319
##
320
## PulseAudio backend stuff
321
##
322
[pulse]
323
 
324
## spawn-server: (global)
325
#  Attempts to autospawn a PulseAudio server whenever needed (initializing the
326
#  backend, enumerating devices, etc). Setting autospawn to false in Pulse's
327
#  client.conf will still prevent autospawning even if this is set to true.
328
#spawn-server = true
329
 
330
## allow-moves: (global)
331
#  Allows PulseAudio to move active streams to different devices. Note that the
332
#  device specifier (seen by applications) will not be updated when this
333
#  occurs, and neither will the AL device configuration (sample rate, format,
334
#  etc).
335
allow-moves = true
336
 
337
## fix-rate:
338
#  Specifies whether to match the playback stream's sample rate to the device's
339
#  sample rate. Enabling this forces OpenAL Soft to mix sources and effects
340
#  directly to the actual output rate, avoiding a second resample pass by the
341
#  PulseAudio server.
342
#fix-rate = false
343
 
344
##
345
## ALSA backend stuff
346
##
347
[alsa]
348
 
349
## device: (global)
350
#  Sets the device name for the default playback device.
351
#device = default
352
 
353
## device-prefix: (global)
354
#  Sets the prefix used by the discovered (non-default) playback devices. This
355
#  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
356
#  device index for the requested device name.
357
#device-prefix = plughw:
358
 
359
## device-prefix-*: (global)
360
#  Card- and device-specific prefixes may be used to override the device-prefix
361
#  option. The option may specify the card id (eg, device-prefix-NVidia), or
362
#  the card id and device index (eg, device-prefix-NVidia-0). The card id is
363
#  case-sensitive.
364
#device-prefix- =
365
 
366
## capture: (global)
367
#  Sets the device name for the default capture device.
368
#capture = default
369
 
370
## capture-prefix: (global)
371
#  Sets the prefix used by the discovered (non-default) capture devices. This
372
#  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
373
#  device number for the requested device name.
374
#capture-prefix = plughw:
375
 
376
## capture-prefix-*: (global)
377
#  Card- and device-specific prefixes may be used to override the
378
#  capture-prefix option. The option may specify the card id (eg,
379
#  capture-prefix-NVidia), or the card id and device index (eg,
380
#  capture-prefix-NVidia-0). The card id is case-sensitive.
381
#capture-prefix- =
382
 
383
## mmap:
384
#  Sets whether to try using mmap mode (helps reduce latencies and CPU
385
#  consumption). If mmap isn't available, it will automatically fall back to
386
#  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
387
#  and anything else will force mmap off.
388
#mmap = true
389
 
390
## allow-resampler:
391
#  Specifies whether to allow ALSA's built-in resampler. Enabling this will
392
#  allow the playback device to be set to a different sample rate than the
393
#  actual output, causing ALSA to apply its own resampling pass after OpenAL
394
#  Soft resamples and mixes the sources and effects for output.
395
#allow-resampler = false
396
 
397
##
398
## OSS backend stuff
399
##
400
[oss]
401
 
402
## device: (global)
403
#  Sets the device name for OSS output.
404
#device = /dev/dsp
405
 
406
## capture: (global)
407
#  Sets the device name for OSS capture.
408
#capture = /dev/dsp
409
 
410
##
411
## Solaris backend stuff
412
##
413
[solaris]
414
 
415
## device: (global)
416
#  Sets the device name for Solaris output.
417
#device = /dev/audio
418
 
419
##
420
## QSA backend stuff
421
##
422
[qsa]
423
 
424
##
425
## JACK backend stuff
426
##
427
[jack]
428
 
429
## spawn-server: (global)
430
#  Attempts to autospawn a JACK server whenever needed (initializing the
431
#  backend, opening devices, etc).
432
#spawn-server = false
433
 
434
## buffer-size:
435
#  Sets the update buffer size, in samples, that the backend will keep buffered
436
#  to handle the server's real-time processing requests. This value must be a
437
#  power of 2, or else it will be rounded up to the next power of 2. If it is
438
#  less than JACK's buffer update size, it will be clamped. This option may
439
#  be useful in case the server's update size is too small and doesn't give the
440
#  mixer time to keep enough audio available for the processing requests.
441
#buffer-size = 0
442
 
443
##
444
## MMDevApi backend stuff
445
##
446
[mmdevapi]
447
 
448
##
449
## DirectSound backend stuff
450
##
451
[dsound]
452
 
453
##
454
## Windows Multimedia backend stuff
455
##
456
[winmm]
457
 
458
##
459
## PortAudio backend stuff
460
##
461
[port]
462
 
463
## device: (global)
464
#  Sets the device index for output. Negative values will use the default as
465
#  given by PortAudio itself.
466
#device = -1
467
 
468
## capture: (global)
469
#  Sets the device index for capture. Negative values will use the default as
470
#  given by PortAudio itself.
471
#capture = -1
472
 
473
##
474
## Wave File Writer stuff
475
##
476
[wave]
477
 
478
## file: (global)
479
#  Sets the filename of the wave file to write to. An empty name prevents the
480
#  backend from opening, even when explicitly requested.
481
#  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
482
#file =
483
 
484
## bformat: (global)
485
#  Creates AMB format files using first-order ambisonics instead of a standard
486
#  single- or multi-channel .wav file.
487
#bformat = false