aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-08-28 14:48:33 -0700
committerChris Robinson <[email protected]>2015-08-28 14:48:33 -0700
commit8fe421cba12087746959501685272a075dcc7931 (patch)
treeff4c9ffa5fba940786a551b37b5f9b44414f415c
parente5fa4ee25dae8b242761052641dca5a4f8091359 (diff)
Document device-specific config options
-rw-r--r--alsoftrc.sample64
1 files changed, 35 insertions, 29 deletions
diff --git a/alsoftrc.sample b/alsoftrc.sample
index efebc469..2a62c360 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -8,6 +8,12 @@
# specifying "$HOME/file.ext" would typically result in something like
# "/home/user/file.ext". To specify an actual "$" character, use "$$".
#
+# Device-specific values may be specified by including the device name in the
+# block name, with "general" replaced by the device name. That is, general
+# options for the device "Name of Device" would be in the [Name of Device]
+# block, while ALSA options would be in the [Name of Device/alsa] block.
+# Options marked as "(global)" are not influenced by the device.
+#
# The system-wide settings can be put in /etc/openal/alsoft.conf and user-
# specific override settings in $HOME/.alsoftrc.
# For Windows, these settings should go into $AppData\alsoft.ini
@@ -22,7 +28,7 @@
##
[general]
-## disable-cpu-exts:
+## disable-cpu-exts: (global)
# Disables use of specialized methods that use specific CPU intrinsics.
# Certain methods may utilize CPU extensions for improved performance, and
# this option is useful for preventing some or all of those methods from being
@@ -30,7 +36,7 @@
# 'all' disables use of all such specialized methods.
#disable-cpu-exts =
-## drivers:
+## drivers: (global)
# Sets the backend driver list order, comma-seperated. Unknown backends and
# duplicated names are ignored. Unlisted backends won't be considered for use
# unless the list is ended with a comma (e.g. 'oss,' will try OSS first before
@@ -74,7 +80,7 @@
# range between 2 and 16.
#periods = 4
-## stereo-mode
+## stereo-mode:
# Specifies if stereo output is treated as being headphones or speakers. With
# headphones, HRTF or crossfeed filters may be used for better audio quality.
# Valid settings are auto, speakers, and headphones.
@@ -89,7 +95,7 @@
# when using headphones.
#hrtf =
-## hrtf_tables
+## hrtf_tables: (global)
# Specifies a comma-separated list of files containing HRTF data sets. The
# format of the files are described in hrtf.txt. The filenames may contain
# these markers, which will be replaced as needed:
@@ -118,7 +124,7 @@
# stereo modes.
#cf_level = 0
-## resampler:
+## resampler: (global)
# Selects the resampler used when mixing sources. Valid values are:
# point - nearest sample, no interpolation
# linear - extrapolates samples using a linear slope between samples
@@ -126,7 +132,7 @@
# Specifying other values will result in using the default (linear).
#resampler = linear
-## rt-prio:
+## rt-prio: (global)
# Sets real-time priority for the mixing thread. Not all drivers may use this
# (eg. PortAudio) as they already control the priority of the mixing thread.
# 0 and negative values will disable it. Note that this may constitute a
@@ -153,14 +159,14 @@
# possible is 4.
#sends =
-## excludefx:
+## excludefx: (global)
# Sets which effects to exclude, preventing apps from using them. This can
# help for apps that try to use effects which are too CPU intensive for the
# system to handle. Available effects are: eaxreverb,reverb,autowah,chorus,
# compressor,distortion,echo,equalizer,flanger,modulator,dedicated
#excludefx =
-## default-reverb:
+## default-reverb: (global)
# A reverb preset that applies by default to all sources on send 0
# (applications that set their own slots on send 0 will override this).
# Available presets are: None, Generic, PaddedCell, Room, Bathroom,
@@ -169,13 +175,13 @@
# Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
#default-reverb =
-## trap-alc-error:
+## trap-alc-error: (global)
# Generates a SIGTRAP signal when an ALC device error is generated, on systems
# that support it. This helps when debugging, while trying to find the cause
# of a device error. On Windows, a breakpoint exception is generated.
#trap-alc-error = false
-## trap-al-error:
+## trap-al-error: (global)
# Generates a SIGTRAP signal when an AL context error is generated, on systems
# that support it. This helps when debugging, while trying to find the cause
# of a context error. On Windows, a breakpoint exception is generated.
@@ -186,7 +192,7 @@
##
[midi]
-## soundfont:
+## soundfont: (global)
# A default soundfont (sf2 format). Used when an app requests the system
# default. The listed file is relative to system-dependant data directories.
# On Windows this is:
@@ -197,7 +203,7 @@
# An absolute path may also be specified, if the given file is elsewhere.
#soundfont =
-## volume:
+## volume: (global)
# Additional attenuation applied to MIDI output, expressed in decibels. This
# is used to help keep the mix from clipping, and so must be 0 or less. The
# value is logarithmic, so -6 will be about half amplitude, and -12 about
@@ -209,14 +215,14 @@
##
[reverb]
-## boost:
+## boost: (global)
# A global amplification for reverb output, expressed in decibels. The value
# is logarithmic, so +6 will be a scale of (approximately) 2x, +12 will be a
# scale of 4x, etc. Similarly, -6 will be about half, and -12 about 1/4th. A
# value of 0 means no change.
#boost = 0
-## emulate-eax:
+## emulate-eax: (global)
# Allows the standard reverb effect to be used in place of EAX reverb. EAX
# reverb processing is a bit more CPU intensive than standard, so this option
# allows a simpler effect to be used at the loss of some quality.
@@ -227,13 +233,13 @@
##
[pulse]
-## spawn-server:
+## spawn-server: (global)
# Attempts to autospawn a PulseAudio server whenever needed (initializing the
# backend, enumerating devices, etc). Setting autospawn to false in Pulse's
# client.conf will still prevent autospawning even if this is set to true.
#spawn-server = true
-## allow-moves:
+## allow-moves: (global)
# Allows PulseAudio to move active streams to different devices. Note that the
# device specifier (seen by applications) will not be updated when this
# occurs, and neither will the AL device configuration (sample rate, format,
@@ -245,34 +251,34 @@
##
[alsa]
-## device:
+## device: (global)
# Sets the device name for the default playback device.
#device = default
-## device-prefix:
+## device-prefix: (global)
# Sets the prefix used by the discovered (non-default) playback devices. This
# will be appended with "CARD=c,DEV=d", where c is the card id and d is the
# device index for the requested device name.
#device-prefix = plughw:
-## device-prefix-*:
+## device-prefix-*: (global)
# Card- and device-specific prefixes may be used to override the device-prefix
# option. The option may specify the card id (eg, device-prefix-NVidia), or
# the card id and device index (eg, device-prefix-NVidia-0). The card id is
# case-sensitive.
#device-prefix- =
-## capture:
+## capture: (global)
# Sets the device name for the default capture device.
#capture = default
-## capture-prefix:
+## capture-prefix: (global)
# Sets the prefix used by the discovered (non-default) capture devices. This
# will be appended with "CARD=c,DEV=d", where c is the card id and d is the
# device number for the requested device name.
#capture-prefix = plughw:
-## capture-prefix-*:
+## capture-prefix-*: (global)
# Card- and device-specific prefixes may be used to override the
# capture-prefix option. The option may specify the card id (eg,
# capture-prefix-NVidia), or the card id and device index (eg,
@@ -291,11 +297,11 @@
##
[oss]
-## device:
+## device: (global)
# Sets the device name for OSS output.
#device = /dev/dsp
-## capture:
+## capture: (global)
# Sets the device name for OSS capture.
#capture = /dev/dsp
@@ -304,7 +310,7 @@
##
[solaris]
-## device:
+## device: (global)
# Sets the device name for Solaris output.
#device = /dev/audio
@@ -318,7 +324,7 @@
##
[jack]
-## spawn-server:
+## spawn-server: (global)
# Attempts to autospawn a JACK server whenever needed (initializing the
# backend, opening devices, etc).
#spawn-server = false
@@ -352,12 +358,12 @@
##
[port]
-## device:
+## device: (global)
# Sets the device index for output. Negative values will use the default as
# given by PortAudio itself.
#device = -1
-## capture:
+## capture: (global)
# Sets the device index for capture. Negative values will use the default as
# given by PortAudio itself.
#capture = -1
@@ -367,7 +373,7 @@
##
[wave]
-## file:
+## file: (global)
# Sets the filename of the wave file to write to. An empty name prevents the
# backend from opening, even when explicitly requested.
# THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!