Don't force latency adjustment with PulseAudio
[openal-soft.git] / alsoftrc.sample
blob6f25d3ebcbeebae5070e7762511ab4aede005b72
1 # OpenAL config file. Options that are not under a block or are under the
2 # [general] block are for general, non-backend-specific options. Blocks may
3 # appear multiple times, and duplicated options will take the last value
4 # specified.
5 # The system-wide settings can be put in /etc/openal/alsoft.conf and user-
6 # specific override settings in ~/.alsoftrc.
7 # For Windows, these settings should go into %AppData%\alsoft.ini
8 # The environment variable ALSOFT_CONF can be used to specify another config
9 # override
11 # Option and block names are case-insenstive. The supplied values are only
12 # hints and may not be honored (though generally it'll try to get as close as
13 # possible). Note: options that are left unset may default to app- or system-
14 # specified values. These are the current available settings:
16 ## format:
17 #  Sets the output format. Can be one of:
18 #  AL_FORMAT_MONO8    (8-bit mono)
19 #  AL_FORMAT_STEREO8  (8-bit stereo)
20 #  AL_FORMAT_QUAD8    (8-bit 4-channel)
21 #  AL_FORMAT_51CHN8   (8-bit 5.1 output)
22 #  AL_FORMAT_61CHN8   (8-bit 6.1 output)
23 #  AL_FORMAT_71CHN8   (8-bit 7.1 output)
24 #  AL_FORMAT_MONO16   (16-bit mono)
25 #  AL_FORMAT_STEREO16 (16-bit stereo)
26 #  AL_FORMAT_QUAD16   (16-bit 4-channel)
27 #  AL_FORMAT_51CHN16  (16-bit 5.1 output)
28 #  AL_FORMAT_61CHN16  (16-bit 6.1 output)
29 #  AL_FORMAT_71CHN16  (16-bit 7.1 output)
30 #  AL_FORMAT_MONO32   (32-bit float mono)
31 #  AL_FORMAT_STEREO32 (32-bit float stereo)
32 #  AL_FORMAT_QUAD32   (32-bit float 4-channel)
33 #  AL_FORMAT_51CHN32  (32-bit float 5.1 output)
34 #  AL_FORMAT_61CHN32  (32-bit float 6.1 output)
35 #  AL_FORMAT_71CHN32  (32-bit float 7.1 output)
36 #format = AL_FORMAT_STEREO16
38 ## cf_level:
39 #  Sets the crossfeed level for stereo output. Valid values are:
40 #  0 - No crossfeed
41 #  1 - Low crossfeed
42 #  2 - Middle crossfeed
43 #  3 - High crossfeed (virtual speakers are closer to itself)
44 #  4 - Low easy crossfeed
45 #  5 - Middle easy crossfeed
46 #  6 - High easy crossfeed
47 #  Users of headphones may want to try various settings. Has no effect on non-
48 #  stereo modes.
49 #cf_level = 0
51 ## head_dampen:
52 #  Sets the amount of dampening on sounds emanating from behind the listener.
53 #  This is used to simulate the natural occlusion of the head, which is
54 #  typically missing with mono and stereo output, and as such, only works on
55 #  mono and stereo output modes. Valid values range from 0 to 1 (inclusive),
56 #  and higher values provide a stronger effect.
57 #head_dampen = 0.25
59 ## frequency:
60 #  Sets the output frequency.
61 #frequency = 44100
63 ## rt-prio:
64 #  Sets real-time priority for the mixing thread. Not all drivers may use this
65 #  (eg. PulseAudio) as they already control the priority of the mixing thread.
66 #  0 and negative values will disable it. Note that this may constitute a
67 #  security risk since a real-time priority thread can indefinitely block
68 #  normal-priority threads if it fails to wait. As such, the default is
69 #  disabled.
70 #rt-prio = 0
72 ## period_size:
73 #  Sets the update period size, in frames. This is the number of frames needed
74 #  for each mixing update. If the deprecated 'refresh' option is specified and
75 #  this isn't, the value will be calculated as size = refresh/periods.
76 #period_size = 1024
78 ## periods:
79 #  Sets the number of update periods. Higher values create a larger mix ahead,
80 #  which helps protect against skips when the CPU is under load, but increases
81 #  the delay between a sound getting mixed and being heard.
82 #periods = 4
84 ## sources:
85 #  Sets the maximum number of allocatable sources. Lower values may help for
86 #  systems with apps that try to play more sounds than the CPU can handle.
87 #sources = 256
89 ## stereodup:
90 #  Sets whether to duplicate stereo sounds on the rear and side speakers for 4+
91 #  channel output. This can make stereo sources substantially louder than mono
92 #  or even 4+ channel sources, but provides a "fuller" playback quality. True,
93 #  yes, on, and non-0 values will duplicate stereo sources. 0 and anything else
94 #  will cause stereo sounds to only play out the front speakers.
95 #stereodup = false
97 ## drivers:
98 #  Sets the backend driver list order, comma-seperated. Unknown backends and
99 #  duplicated names are ignored. Unlisted backends won't be considered for use
100 #  unless the list is ended with a comma (eg. 'oss,' will list OSS first
101 #  followed by all other available backends, while 'oss' will list OSS only).
102 #  An empty list means the default.
103 #drivers = alsa,oss,solaris,dsound,winmm,port,pulse,wave
105 ## excludefx:
106 #  Sets which effects to exclude, preventing apps from using them. This can
107 #  help for apps that try to use effects which are too CPU intensive for the
108 #  system to handle. Available effects are: eaxreverb,reverb,echo
109 #excludefx =
111 ## slots:
112 #  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
113 #  can use a non-negligible amount of CPU time if an effect is set on it even
114 #  if no sources are feeding it, so this may help when apps use more than the
115 #  system can handle.
116 #slots = 4
118 ## sends:
119 #  Sets the maximum number of auxiliary sends per source. The total number of
120 #  sends possible is defined at compile time and thus can not be increased
121 #  beyond the default (2).
122 #sends = 2
124 ## layout_STEREO:
125 #  Sets the speaker layout when using stereo output. Values are specified in
126 #  degrees, where 0 is straight in front, negative goes left, and positive goes
127 #  right. The values must define a circular pattern, starting with the back-
128 #  left at the most negative, around the front to back-center. Unspecified
129 #  speakers will remain at their default position. Available speakers are
130 #  front-left(fl) and front-right(fr).
131 #layout_STEREO = fl=-90, fr=90
133 ## laytout_QUAD:
134 #  Sets the speaker layout when using quadriphonic output. Available speakers
135 #  are back-left(bl), front-left(fl), front-right(fr), and back-right(br).
136 #layout_QUAD = bl=-135, fl=-45, fr=45, br=135
138 ## layout_51CHN:
139 #  Sets the speaker layout when using 5.1 output. Available speakers are back-
140 #  left(bl), front-left(fl), front-center(fc), front-right(fr), and back-
141 #  right(br).
142 #layout_51CHN = bl=-110, fl=-30, fc=0, fr=30, br=110
144 ## layout_61CHN:
145 #  Sets the speaker layout when using 6.1 output. Available speakers are side-
146 #  left(sl), front-left(fl), front-center(fc), front-right(fr), side-right(sr),
147 #  and back-center(bc).
148 #layout_61CHN = sl=-90, fl=-30, fc=0, fr=30, sr=90, bc=180
150 ## layout_71CHN:
151 #  Sets the speaker layout when using 7.1 output. Available speakers are back-
152 #  left(bl), side-left(sl), front-left(fl), front-center(fc), front-right(fr),
153 #  side-right(sr), and back-right(br).
154 #layout_71CHN = bl=-150, sl=-90, fl=-30, fc=0, fr=30, sr=90, br=150
157 ## ALSA backend stuff
159 [alsa]
161 ## device:
162 #  Sets the device name for the default playback device.
163 #device = default
165 ## capture:
166 #  Sets the device name for the default capture device.
167 #capture = default
169 ## mmap:
170 #  Sets whether to try using mmap mode (helps reduce latencies and CPU
171 #  consumption). If mmap isn't available, it will automatically fall back to
172 #  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
173 #  and anything else will force mmap off.
174 #mmap = true
177 ## OSS backend stuff
179 [oss]
181 ## device:
182 #  Sets the device name for OSS output.
183 #device = /dev/dsp
185 ## capture:
186 #  Sets the device name for OSS capture.
187 #capture = /dev/dsp
190 ## Solaris backend stuff
192 [solaris]
194 ## device:
195 #  Sets the device name for Solaris output.
196 #device = /dev/audio
199 ## DirectSound backend stuff
201 [dsound]
204 ## Windows Multimedia backend stuff
206 [winmm]
209 ## PortAudio backend stuff
211 [port]
213 ## device:
214 #  Sets the device index for output. Negative values will use the default as
215 #  given by PortAudio itself.
216 #device = -1
219 ## PulseAudio backend stuff
221 [pulse]
224 ## Wave File Writer stuff
226 [wave]
228 ## file:
229 #  Sets the filename of the wave file to write to. An empty name prevents the
230 #  backend from opening, even when explicitly requested.
231 #  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
232 #file =