2007-11-14 02:02:18 +00:00
|
|
|
# OpenAL config file. Options that are not under a block or are under the
|
|
|
|
# [general] block are for general, non-backend-specific options. Blocks may
|
|
|
|
# appear multiple times, and duplicated options will take the last value
|
2008-01-20 02:18:14 +00:00
|
|
|
# specified.
|
|
|
|
# The system-wide settings can be put in /etc/openal/alsoft.conf and user-
|
|
|
|
# specific override settings in ~/.alsoftrc.
|
2007-11-14 02:02:18 +00:00
|
|
|
|
|
|
|
# Option and block names are case-insenstive. The supplied values are only
|
|
|
|
# hints and may not be honored (though generally it'll try to get as close as
|
|
|
|
# possible). These are the current available settings:
|
|
|
|
|
|
|
|
format = AL_FORMAT_STEREO16 # Sets the output format. Can be one of:
|
|
|
|
# AL_FORMAT_MONO8 (8-bit mono)
|
|
|
|
# AL_FORMAT_STEREO8 (8-bit stereo)
|
|
|
|
# AL_FORMAT_QUAD8 (8-bit 4-channel)
|
2007-12-27 09:00:19 +00:00
|
|
|
# AL_FORMAT_51CHN8 (8-bit 5.1 output)
|
2007-12-31 11:29:14 +00:00
|
|
|
# AL_FORMAT_61CHN8 (8-bit 6.1 output)
|
|
|
|
# AL_FORMAT_71CHN8 (8-bit 7.1 output)
|
2007-11-14 02:02:18 +00:00
|
|
|
# AL_FORMAT_MONO16 (16-bit mono)
|
|
|
|
# AL_FORMAT_STEREO16 (16-bit stereo)
|
|
|
|
# AL_FORMAT_QUAD16 (16-bit 4-channel)
|
2007-12-27 09:00:19 +00:00
|
|
|
# AL_FORMAT_51CHN16 (16-bit 5.1 output)
|
2007-12-31 11:29:14 +00:00
|
|
|
# AL_FORMAT_61CHN16 (16-bit 6.1 output)
|
|
|
|
# AL_FORMAT_71CHN16 (16-bit 7.1 output)
|
2007-11-14 02:02:18 +00:00
|
|
|
# Default is AL_FORMAT_STEREO16
|
|
|
|
|
2008-01-03 14:02:06 +00:00
|
|
|
cf_level = 0 # Sets the crossfeed level for stereo output. Valid values are:
|
|
|
|
# 0 - No crossfeed
|
|
|
|
# 1 - Low crossfeed
|
|
|
|
# 2 - Middle crossfeed
|
|
|
|
# 3 - High crossfeed (virtual speakers are closer to itself)
|
|
|
|
# 4 - Low easy crossfeed
|
|
|
|
# 5 - Middle easy crossfeed
|
|
|
|
# 6 - High easy crossfeed
|
|
|
|
# Default is 0. Users of headphones may want to try various
|
|
|
|
# settings. Has no effect on non-stereo modes.
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
frequency = 44100 # Sets the output frequency. Default is 44100
|
|
|
|
|
2008-01-18 08:28:25 +00:00
|
|
|
refresh = 8192 # Sets the buffer size, in frames. Default is 8192. Note that
|
|
|
|
# the actual granularity may or may not be less than this.
|
2007-11-14 02:02:18 +00:00
|
|
|
|
2008-01-20 03:38:06 +00:00
|
|
|
sources = 256 # Sets the maximum number of allocatable sources. Lower values
|
|
|
|
# may help for systems with apps that try to play more sounds
|
|
|
|
# than the CPU can handle. Default is 256
|
|
|
|
|
2008-02-07 06:18:50 +00:00
|
|
|
stereodup = # Sets whether to duplicate stereo sounds on the rear speakers for
|
|
|
|
# 4+ channel output. This can make stereo sources substantially
|
|
|
|
# louder than mono or even 4+ channel sources, but provides a
|
|
|
|
# "fuller" playback quality. True, yes, on, and non-0 values will
|
|
|
|
# duplicate stereo sources. 0 and anything else will cause stereo
|
|
|
|
# sounds to only play out the front speakers.
|
|
|
|
# Default is false
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
drivers = # Sets the backend driver list order, comma-seperated. Unknown
|
|
|
|
# backends and duplicated names are ignored, and unlisted backends
|
|
|
|
# won't be considered for use. An empty list means the default.
|
|
|
|
# Default is:
|
2008-01-11 17:32:22 +00:00
|
|
|
# alsa,oss,dsound,winmm,wave
|
2007-11-14 02:02:18 +00:00
|
|
|
|
|
|
|
[alsa] # ALSA backend stuff
|
|
|
|
device = default # Sets the device name for the default playback device.
|
|
|
|
# Default is default
|
|
|
|
|
2008-01-18 08:28:25 +00:00
|
|
|
periods = 0 # Sets the number of update buffers for playback. A value of 0
|
|
|
|
# means auto-select. Default is 0
|
2007-11-14 02:02:18 +00:00
|
|
|
|
|
|
|
capture = default # Sets the device name for the default capture device.
|
|
|
|
# Default is default
|
|
|
|
|
2008-01-14 23:30:52 +00:00
|
|
|
mmap = true # Sets whether to try using mmap mode (helps reduce latencies and
|
|
|
|
# CPU consumption). If mmap isn't available, it will automatically
|
|
|
|
# fall back to non-mmap mode. True, yes, on, and non-0 values will
|
|
|
|
# attempt to use mmap. 0 and anything else will force mmap off.
|
|
|
|
# Default is true.
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
[oss] # OSS backend stuff
|
|
|
|
device = /dev/dsp # Sets the device name for OSS output. Default is /dev/dsp
|
|
|
|
|
|
|
|
periods = 4 # Sets the number of update buffers. Default is 4
|
|
|
|
|
2007-12-17 03:37:20 +00:00
|
|
|
capture = /dev/dsp # Sets the device name for OSS capture. Default is /dev/dsp
|
|
|
|
|
2007-11-14 02:02:18 +00:00
|
|
|
[dsound] # DirectSound backend stuff
|
|
|
|
# Nothing yet...
|
|
|
|
|
|
|
|
[winmm] # Windows Multimedia backend stuff
|
|
|
|
# Nothing yet...
|
2008-01-11 17:32:22 +00:00
|
|
|
|
|
|
|
[wave] # Wave File Writer stuff
|
|
|
|
file = # 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!
|
|
|
|
# Default is empty
|