]> git.tdb.fi Git - ext/openal.git/blob - alsoftrc.sample
Tweak some types to work around an MSVC compile error
[ext/openal.git] / alsoftrc.sample
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/xdg/alsoft.conf (as determined by
18 # the XDG_CONFIG_DIRS env var list, /etc/xdg being the default if unset) and
19 # user-specific override settings in $HOME/.config/alsoft.conf (as determined
20 # by the XDG_CONFIG_HOME env var).
21 #
22 # For Windows, these settings should go into $AppData\alsoft.ini
23 #
24 # An additional configuration file (alsoft.ini on Windows, alsoft.conf on other
25 # OSs) can be placed alongside the process executable for app-specific config
26 # settings.
27 #
28 # Option and block names are case-senstive. The supplied values are only hints
29 # and may not be honored (though generally it'll try to get as close as
30 # possible). Note: options that are left unset may default to app- or system-
31 # specified values. These are the current available settings:
32
33 ##
34 ## General stuff
35 ##
36 [general]
37
38 ## disable-cpu-exts: (global)
39 #  Disables use of specialized methods that use specific CPU intrinsics.
40 #  Certain methods may utilize CPU extensions for improved performance, and
41 #  this option is useful for preventing some or all of those methods from being
42 #  used. The available extensions are: sse, sse2, sse3, sse4.1, and neon.
43 #  Specifying 'all' disables use of all such specialized methods.
44 #disable-cpu-exts =
45
46 ## drivers: (global)
47 #  Sets the backend driver list order, comma-seperated. Unknown backends and
48 #  duplicated names are ignored. Unlisted backends won't be considered for use
49 #  unless the list is ended with a comma (e.g. 'oss,' will try OSS first before
50 #  other backends, while 'oss' will try OSS only). Backends prepended with -
51 #  won't be considered for use (e.g. '-oss,' will try all available backends
52 #  except OSS). An empty list means to try all backends.
53 #drivers =
54
55 ## channels:
56 #  Sets the default output channel configuration. If left unspecified, one will
57 #  try to be detected from the system, with a fallback to stereo. The available
58 #  values are: mono, stereo, quad, surround51, surround61, surround71,
59 #  surround3d71, ambi1, ambi2, ambi3. Note that the ambi* configurations output
60 #  ambisonic channels of the given order (using ACN ordering and SN3D
61 #  normalization by default), which need to be decoded to play correctly on
62 #  speakers.
63 #channels =
64
65 ## sample-type:
66 #  Sets the default output sample type. Currently, all mixing is done with
67 #  32-bit float and converted to the output sample type as needed. Available
68 #  values are:
69 #  int8    - signed 8-bit int
70 #  uint8   - unsigned 8-bit int
71 #  int16   - signed 16-bit int
72 #  uint16  - unsigned 16-bit int
73 #  int32   - signed 32-bit int
74 #  uint32  - unsigned 32-bit int
75 #  float32 - 32-bit float
76 #sample-type = float32
77
78 ## frequency:
79 #  Sets the default output frequency. If left unspecified it will try to detect
80 #  a default from the system, otherwise it will fallback to 48000.
81 #frequency =
82
83 ## period_size:
84 #  Sets the update period size, in sample frames. This is the number of frames
85 #  needed for each mixing update. Acceptable values range between 64 and 8192.
86 #  If left unspecified it will default to 1/50th of the frequency (20ms, or 882
87 #  for 44100, 960 for 48000, etc).
88 #period_size =
89
90 ## periods:
91 #  Sets the number of update periods. Higher values create a larger mix ahead,
92 #  which helps protect against skips when the CPU is under load, but increases
93 #  the delay between a sound getting mixed and being heard. Acceptable values
94 #  range between 2 and 16.
95 #periods = 3
96
97 ## stereo-mode:
98 #  Specifies if stereo output is treated as being headphones or speakers. With
99 #  headphones, HRTF or crossfeed filters may be used for better audio quality.
100 #  Valid settings are auto, speakers, and headphones.
101 #stereo-mode = auto
102
103 ## stereo-encoding:
104 #  Specifies the default encoding method for stereo output. Valid values are:
105 #  basic - Standard amplitude panning (aka pair-wise, stereo pair, etc) between
106 #          -30 and +30 degrees.
107 #  uhj - Creates a stereo-compatible two-channel UHJ mix, which encodes some
108 #        surround sound information into stereo output that can be decoded with
109 #        a surround sound receiver.
110 #  hrtf - Uses filters to provide better spatialization of sounds while using
111 #         stereo headphones.
112 #  If crossfeed filters are used, basic stereo mixing is used.
113 #stereo-encoding = basic
114
115 ## ambi-format:
116 #  Specifies the channel order and normalization for the "ambi*" set of channel
117 #  configurations. Valid settings are: fuma, acn+fuma, ambix (or acn+sn3d), or
118 #  acn+n3d
119 #ambi-format = ambix
120
121 ## hrtf:
122 #  Deprecated. Consider using stereo-encoding instead. Valid values are auto,
123 #  off, and on.
124 #hrtf = auto
125
126 ## hrtf-mode:
127 #  Specifies the rendering mode for HRTF processing. Setting the mode to full
128 #  (default) applies a unique HRIR filter to each source given its relative
129 #  location, providing the clearest directional response at the cost of the
130 #  highest CPU usage. Setting the mode to ambi1, ambi2, or ambi3 will instead
131 #  mix to a first-, second-, or third-order ambisonic buffer respectively, then
132 #  decode that buffer with HRTF filters. Ambi1 has the lowest CPU usage,
133 #  replacing the per-source HRIR filter for a simple 4-channel panning mix, but
134 #  retains full 3D placement at the cost of a more diffuse response. Ambi2 and
135 #  ambi3 increasingly improve the directional clarity, at the cost of more CPU
136 #  usage (still less than "full", given some number of active sources).
137 #hrtf-mode = full
138
139 ## hrtf-size:
140 #  Specifies the impulse response size, in samples, for the HRTF filter. Larger
141 #  values increase the filter quality, while smaller values reduce processing
142 #  cost. A value of 0 (default) uses the full filter size in the dataset, and
143 #  the default dataset has a filter size of 64 samples at 48khz.
144 #hrtf-size = 0
145
146 ## default-hrtf:
147 #  Specifies the default HRTF to use. When multiple HRTFs are available, this
148 #  determines the preferred one to use if none are specifically requested. Note
149 #  that this is the enumerated HRTF name, not necessarily the filename.
150 #default-hrtf =
151
152 ## hrtf-paths:
153 #  Specifies a comma-separated list of paths containing HRTF data sets. The
154 #  format of the files are described in docs/hrtf.txt. The files within the
155 #  directories must have the .mhr file extension to be recognized. By default,
156 #  OS-dependent data paths will be used. They will also be used if the list
157 #  ends with a comma. On Windows this is:
158 #  $AppData\openal\hrtf
159 #  And on other systems, it's (in order):
160 #  $XDG_DATA_HOME/openal/hrtf  (defaults to $HOME/.local/share/openal/hrtf)
161 #  $XDG_DATA_DIRS/openal/hrtf  (defaults to /usr/local/share/openal/hrtf and
162 #                               /usr/share/openal/hrtf)
163 #hrtf-paths =
164
165 ## cf_level:
166 #  Sets the crossfeed level for stereo output. Valid values are:
167 #  0 - No crossfeed
168 #  1 - Low crossfeed
169 #  2 - Middle crossfeed
170 #  3 - High crossfeed (virtual speakers are closer to itself)
171 #  4 - Low easy crossfeed
172 #  5 - Middle easy crossfeed
173 #  6 - High easy crossfeed
174 #  Users of headphones may want to try various settings. Has no effect on non-
175 #  stereo modes.
176 #cf_level = 0
177
178 ## resampler: (global)
179 #  Selects the default resampler used when mixing sources. Valid values are:
180 #  point - nearest sample, no interpolation
181 #  linear - extrapolates samples using a linear slope between samples
182 #  cubic - extrapolates samples using a Catmull-Rom spline
183 #  bsinc12 - extrapolates samples using a band-limited Sinc filter (varying
184 #            between 12 and 24 points, with anti-aliasing)
185 #  fast_bsinc12 - same as bsinc12, except without interpolation between down-
186 #                 sampling scales
187 #  bsinc24 - extrapolates samples using a band-limited Sinc filter (varying
188 #            between 24 and 48 points, with anti-aliasing)
189 #  fast_bsinc24 - same as bsinc24, except without interpolation between down-
190 #                 sampling scales
191 #resampler = cubic
192
193 ## rt-prio: (global)
194 #  Sets the real-time priority value for the mixing thread. Not all drivers may
195 #  use this (eg. PortAudio) as those APIs already control the priority of the
196 #  mixing thread. 0 and negative values will disable real-time priority. Note
197 #  that this may constitute a security risk since a real-time priority thread
198 #  can indefinitely block normal-priority threads if it fails to wait. Disable
199 #  this if it turns out to be a problem.
200 #rt-prio = 1
201
202 ## rt-time-limit: (global)
203 #  On non-Windows systems, allows reducing the process's RLIMIT_RTTIME resource
204 #  as necessary for acquiring real-time priority from RTKit.
205 #rt-time-limit = true
206
207 ## sources:
208 #  Sets the maximum number of allocatable sources. Lower values may help for
209 #  systems with apps that try to play more sounds than the CPU can handle.
210 #sources = 256
211
212 ## slots:
213 #  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
214 #  can use a non-negligible amount of CPU time if an effect is set on it even
215 #  if no sources are feeding it, so this may help when apps use more than the
216 #  system can handle.
217 #slots = 64
218
219 ## sends:
220 #  Limits the number of auxiliary sends allowed per source. Setting this higher
221 #  than the default has no effect.
222 #sends = 6
223
224 ## front-stablizer:
225 #  Applies filters to "stablize" front sound imaging. A psychoacoustic method
226 #  is used to generate a front-center channel signal from the front-left and
227 #  front-right channels, improving the front response by reducing the combing
228 #  artifacts and phase errors. Consequently, it will only work with channel
229 #  configurations that include front-left, front-right, and front-center.
230 #front-stablizer = false
231
232 ## output-limiter:
233 #  Applies a gain limiter on the final mixed output. This reduces the volume
234 #  when the output samples would otherwise clamp, avoiding excessive clipping
235 #  noise.
236 #output-limiter = true
237
238 ## dither:
239 #  Applies dithering on the final mix, for 8- and 16-bit output by default.
240 #  This replaces the distortion created by nearest-value quantization with low-
241 #  level whitenoise.
242 #dither = true
243
244 ## dither-depth:
245 #  Quantization bit-depth for dithered output. A value of 0 (or less) will
246 #  match the output sample depth. For int32, uint32, and float32 output, 0 will
247 #  disable dithering because they're at or beyond the rendered precision. The
248 #  maximum dither depth is 24.
249 #dither-depth = 0
250
251 ## volume-adjust:
252 #  A global volume adjustment for source output, expressed in decibels. The
253 #  value is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will
254 #  be a scale of 4x, etc. Similarly, -6 will be x1/2, and -12 is about x1/4. A
255 #  value of 0 means no change.
256 #volume-adjust = 0
257
258 ## excludefx: (global)
259 #  Sets which effects to exclude, preventing apps from using them. This can
260 #  help for apps that try to use effects which are too CPU intensive for the
261 #  system to handle. Available effects are: eaxreverb,reverb,autowah,chorus,
262 #  compressor,distortion,echo,equalizer,flanger,modulator,dedicated,pshifter,
263 #  fshifter,vmorpher.
264 #excludefx =
265
266 ## default-reverb: (global)
267 #  A reverb preset that applies by default to all sources on send 0
268 #  (applications that set their own slots on send 0 will override this).
269 #  Available presets include: None, Generic, PaddedCell, Room, Bathroom,
270 #  Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
271 #  CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Mountains,
272 #  Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
273 #default-reverb =
274
275 ## trap-alc-error: (global)
276 #  Generates a SIGTRAP signal when an ALC device error is generated, on systems
277 #  that support it. This helps when debugging, while trying to find the cause
278 #  of a device error. On Windows, a breakpoint exception is generated.
279 #trap-alc-error = false
280
281 ## trap-al-error: (global)
282 #  Generates a SIGTRAP signal when an AL context error is generated, on systems
283 #  that support it. This helps when debugging, while trying to find the cause
284 #  of a context error. On Windows, a breakpoint exception is generated.
285 #trap-al-error = false
286
287 ##
288 ## Ambisonic decoder stuff
289 ##
290 [decoder]
291
292 ## hq-mode:
293 #  Enables a high-quality ambisonic decoder. This mode is capable of frequency-
294 #  dependent processing, creating a better reproduction of 3D sound rendering
295 #  over surround sound speakers.
296 #hq-mode = true
297
298 ## distance-comp:
299 #  Enables compensation for the speakers' relative distances to the listener.
300 #  This applies the necessary delays and attenuation to make the speakers
301 #  behave as though they are all equidistant, which is important for proper
302 #  playback of 3D sound rendering. Requires the proper distances to be
303 #  specified in the decoder configuration file.
304 #distance-comp = true
305
306 ## nfc:
307 #  Enables near-field control filters. This simulates and compensates for low-
308 #  frequency effects caused by the curvature of nearby sound-waves, which
309 #  creates a more realistic perception of sound distance with surround sound
310 #  output. Note that the effect may be stronger or weaker than intended if the
311 #  application doesn't use or specify an appropriate unit scale, or if
312 #  incorrect speaker distances are set. For HRTF output, hrtf-mode must be set
313 #  to one of the ambi* values for this to function.
314 #nfc = false
315
316 ## speaker-dist:
317 #  Specifies the speaker distance in meters, used by the near-field control
318 #  filters with surround sound output. For ambisonic output modes, this value
319 #  is the basis for the NFC-HOA Reference Delay parameter (calculated as
320 #  delay_seconds = speaker_dist/343.3). This value is not used when a decoder
321 #  configuration is set for the output mode (since they specify the per-speaker
322 #  distances, overriding this setting), or when the NFC filters are off. Valid
323 #  values range from 0.1 to 10.
324 #speaker-dist = 1
325
326 ## quad:
327 #  Decoder configuration file for Quadraphonic channel output. See
328 #  docs/ambdec.txt for a description of the file format.
329 #quad =
330
331 ## surround51:
332 #  Decoder configuration file for 5.1 Surround (Side and Rear) channel output.
333 #  See docs/ambdec.txt for a description of the file format.
334 #surround51 =
335
336 ## surround61:
337 #  Decoder configuration file for 6.1 Surround channel output. See
338 #  docs/ambdec.txt for a description of the file format.
339 #surround61 =
340
341 ## surround71:
342 #  Decoder configuration file for 7.1 Surround channel output. See
343 #  docs/ambdec.txt for a description of the file format.
344 #surround71 =
345
346 ## surround3d71:
347 #  Decoder configuration file for 3D7.1 Surround channel output. See
348 #  docs/ambdec.txt for a description of the file format. See also
349 #  docs/3D7.1.txt for information about 3D7.1.
350 #surround3d71 =
351
352 ##
353 ## UHJ and Super Stereo stuff
354 ##
355 [uhj]
356
357 ## decode-filter: (global)
358 #  Specifies the all-pass filter type for UHJ decoding and Super Stereo
359 #  processing. Valid values are:
360 #  iir - utilizes dual IIR filters, providing a wide pass-band with low CPU
361 #        use, but causes additional phase shifts on the signal.
362 #  fir256 - utilizes a 256-point FIR filter, providing more stable results but
363 #           exhibiting attenuation in the lower and higher frequency bands.
364 #  fir512 - utilizes a 512-point FIR filter, providing a wider pass-band than
365 #           fir256, at the cost of more CPU use.
366 #decode-filter = iir
367
368 ## encode-filter: (global)
369 #  Specifies the all-pass filter type for UHJ output encoding. Valid values are
370 #  the same as for decode-filter.
371 #encode-filter = iir
372
373 ##
374 ## Reverb effect stuff (includes EAX reverb)
375 ##
376 [reverb]
377
378 ## boost: (global)
379 #  A global amplification for reverb output, expressed in decibels. The value
380 #  is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
381 #  scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
382 #  value of 0 means no change.
383 #boost = 0
384
385 ##
386 ## PipeWire backend stuff
387 ##
388 [pipewire]
389
390 ## assume-audio: (global)
391 #  Causes the backend to succeed initialization even if PipeWire reports no
392 #  audio support. Currently, audio support is detected by the presence of audio
393 #  source or sink nodes, although this can cause false negatives in cases where
394 #  device availability during library initialization is spotty. Future versions
395 #  of PipeWire are expected to have a more robust method to test audio support,
396 #  but in the mean time this can be set to true to assume PipeWire has audio
397 #  support even when no nodes may be reported at initialization time.
398 #assume-audio = false
399
400 ## rt-mix:
401 #  Renders samples directly in the real-time processing callback. This allows
402 #  for lower latency and less overall CPU utilization, but can increase the
403 #  risk of underruns when increasing the amount of work the mixer needs to do.
404 #rt-mix = true
405
406 ##
407 ## PulseAudio backend stuff
408 ##
409 [pulse]
410
411 ## spawn-server: (global)
412 #  Attempts to autospawn a PulseAudio server whenever needed (initializing the
413 #  backend, enumerating devices, etc). Setting autospawn to false in Pulse's
414 #  client.conf will still prevent autospawning even if this is set to true.
415 #spawn-server = false
416
417 ## allow-moves: (global)
418 #  Allows PulseAudio to move active streams to different devices. Note that the
419 #  device specifier (seen by applications) will not be updated when this
420 #  occurs, and neither will the AL device configuration (sample rate, format,
421 #  etc).
422 #allow-moves = true
423
424 ## fix-rate:
425 #  Specifies whether to match the playback stream's sample rate to the device's
426 #  sample rate. Enabling this forces OpenAL Soft to mix sources and effects
427 #  directly to the actual output rate, avoiding a second resample pass by the
428 #  PulseAudio server.
429 #fix-rate = false
430
431 ## adjust-latency:
432 #  Attempts to adjust the overall latency of device playback. Note that this
433 #  may have adverse effects on the resulting internal buffer sizes and mixing
434 #  updates, leading to performance problems and drop-outs. However, if the
435 #  PulseAudio server is creating a lot of latency, enabling this may help make
436 #  it more manageable.
437 #adjust-latency = false
438
439 ##
440 ## ALSA backend stuff
441 ##
442 [alsa]
443
444 ## device: (global)
445 #  Sets the device name for the default playback device.
446 #device = default
447
448 ## device-prefix: (global)
449 #  Sets the prefix used by the discovered (non-default) playback devices. This
450 #  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
451 #  device index for the requested device name.
452 #device-prefix = plughw:
453
454 ## device-prefix-*: (global)
455 #  Card- and device-specific prefixes may be used to override the device-prefix
456 #  option. The option may specify the card id (eg, device-prefix-NVidia), or
457 #  the card id and device index (eg, device-prefix-NVidia-0). The card id is
458 #  case-sensitive.
459 #device-prefix- =
460
461 ## custom-devices: (global)
462 #  Specifies a list of enumerated playback devices and the ALSA devices they
463 #  refer to. The list pattern is "Display Name=ALSA device;...". The display
464 #  names will be returned for device enumeration, and the ALSA device is the
465 #  device name to open for each enumerated device.
466 #custom-devices =
467
468 ## capture: (global)
469 #  Sets the device name for the default capture device.
470 #capture = default
471
472 ## capture-prefix: (global)
473 #  Sets the prefix used by the discovered (non-default) capture devices. This
474 #  will be appended with "CARD=c,DEV=d", where c is the card id and d is the
475 #  device number for the requested device name.
476 #capture-prefix = plughw:
477
478 ## capture-prefix-*: (global)
479 #  Card- and device-specific prefixes may be used to override the
480 #  capture-prefix option. The option may specify the card id (eg,
481 #  capture-prefix-NVidia), or the card id and device index (eg,
482 #  capture-prefix-NVidia-0). The card id is case-sensitive.
483 #capture-prefix- =
484
485 ## custom-captures: (global)
486 #  Specifies a list of enumerated capture devices and the ALSA devices they
487 #  refer to. The list pattern is "Display Name=ALSA device;...". The display
488 #  names will be returned for device enumeration, and the ALSA device is the
489 #  device name to open for each enumerated device.
490 #custom-captures =
491
492 ## mmap:
493 #  Sets whether to try using mmap mode (helps reduce latencies and CPU
494 #  consumption). If mmap isn't available, it will automatically fall back to
495 #  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
496 #  and anything else will force mmap off.
497 #mmap = true
498
499 ## allow-resampler:
500 #  Specifies whether to allow ALSA's built-in resampler. Enabling this will
501 #  allow the playback device to be set to a different sample rate than the
502 #  actual output, causing ALSA to apply its own resampling pass after OpenAL
503 #  Soft resamples and mixes the sources and effects for output.
504 #allow-resampler = false
505
506 ##
507 ## OSS backend stuff
508 ##
509 [oss]
510
511 ## device: (global)
512 #  Sets the device name for OSS output.
513 #device = /dev/dsp
514
515 ## capture: (global)
516 #  Sets the device name for OSS capture.
517 #capture = /dev/dsp
518
519 ##
520 ## Solaris backend stuff
521 ##
522 [solaris]
523
524 ## device: (global)
525 #  Sets the device name for Solaris output.
526 #device = /dev/audio
527
528 ##
529 ## QSA backend stuff
530 ##
531 [qsa]
532
533 ##
534 ## JACK backend stuff
535 ##
536 [jack]
537
538 ## spawn-server: (global)
539 #  Attempts to autospawn a JACK server when initializing.
540 #spawn-server = false
541
542 ## custom-devices: (global)
543 #  Specifies a list of enumerated devices and the ports they connect to. The
544 #  list pattern is "Display Name=ports regex;Display Name=ports regex;...". The
545 #  display names will be returned for device enumeration, and the ports regex
546 #  is the regular expression to identify the target ports on the server (as
547 #  given by the jack_get_ports function) for each enumerated device.
548 #custom-devices =
549
550 ## rt-mix:
551 #  Renders samples directly in the real-time processing callback. This allows
552 #  for lower latency and less overall CPU utilization, but can increase the
553 #  risk of underruns when increasing the amount of work the mixer needs to do.
554 #rt-mix = true
555
556 ## connect-ports:
557 #  Attempts to automatically connect the client ports to physical server ports.
558 #  Client ports that fail to connect will leave the remaining channels
559 #  unconnected and silent (the device format won't change to accommodate).
560 #connect-ports = true
561
562 ## buffer-size:
563 #  Sets the update buffer size, in samples, that the backend will keep buffered
564 #  to handle the server's real-time processing requests. This value must be a
565 #  power of 2, or else it will be rounded up to the next power of 2. If it is
566 #  less than JACK's buffer update size, it will be clamped. This option may
567 #  be useful in case the server's update size is too small and doesn't give the
568 #  mixer time to keep enough audio available for the processing requests.
569 #  Ignored when rt-mix is true.
570 #buffer-size = 0
571
572 ##
573 ## WASAPI backend stuff
574 ##
575 [wasapi]
576
577 ## allow-resampler:
578 #  Specifies whether to allow an extra resampler pass on the output. Enabling
579 #  this will allow the playback device to be set to a different sample rate
580 #  than the actual output can accept, causing the backend to apply its own
581 #  resampling pass after OpenAL Soft mixes the sources and processes effects
582 #  for output.
583 #allow-resampler = true
584
585 ##
586 ## DirectSound backend stuff
587 ##
588 [dsound]
589
590 ##
591 ## Windows Multimedia backend stuff
592 ##
593 [winmm]
594
595 ##
596 ## PortAudio backend stuff
597 ##
598 [port]
599
600 ## device: (global)
601 #  Sets the device index for output. Negative values will use the default as
602 #  given by PortAudio itself.
603 #device = -1
604
605 ## capture: (global)
606 #  Sets the device index for capture. Negative values will use the default as
607 #  given by PortAudio itself.
608 #capture = -1
609
610 ##
611 ## Wave File Writer stuff
612 ##
613 [wave]
614
615 ## file: (global)
616 #  Sets the filename of the wave file to write to. An empty name prevents the
617 #  backend from opening, even when explicitly requested.
618 #  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
619 #file =
620
621 ## bformat: (global)
622 #  Creates AMB format files using first-order ambisonics instead of a standard
623 #  single- or multi-channel .wav file.
624 #bformat = false
625
626 ##
627 ## EAX extensions stuff
628 ##
629 [eax]
630
631 ## enable: (global)
632 #  Sets whether to enable EAX extensions or not.
633 #enable = true
634
635 ##
636 ## Per-game compatibility options (these should only be set in per-game config
637 ## files, *NOT* system- or user-level!)
638 ##
639 [game_compat]
640
641 ## nfc-scale: (global)
642 #  A meters-per-unit distance scale applied to NFC filters. If a game doesn't
643 #  use real-world meters for in-game units, the filters may create a too-near
644 #  or too-distant effect. For instance, if the game uses 1 foot per unit, a
645 #  value of 0.3048 will correctly adjust the filters. Or if the game uses 1
646 #  kilometer per unit, a value of 1000 will correctly adjust the filters.
647 #nfc-scale = 1
648
649 ## enable-sub-data-ext: (global)
650 #  Enables the AL_SOFT_buffer_sub_data extension, disabling the
651 #  AL_EXT_SOURCE_RADIUS extension. These extensions are incompatible, so only
652 #  one can be available. The latter extension is more commonly used, but this
653 #  option can be enabled for older apps that want the former extension.
654 #enable-sub-data-ext = false
655
656 ## reverse-x: (global)
657 #  Reverses the local X (left-right) position of 3D sound sources.
658 #reverse-x = false
659
660 ## reverse-y: (global)
661 #  Reverses the local Y (up-down) position of 3D sound sources.
662 #reverse-y = false
663
664 ## reverse-z: (global)
665 #  Reverses the local Z (front-back) position of 3D sound sources.
666 #reverse-z = false