tizen 2.3.1 release
[framework/multimedia/openal-soft.git] / alsoftrc.sample
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
10
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:
15
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
37
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
50
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
58
59 ## frequency:
60 #  Sets the output frequency.
61 #frequency = 44100
62
63 ## resampler:
64 #  Selects the resampler used when mixing sources. Valid values are:
65 #  0 - None (nearest sample, no interpolation)
66 #  1 - Linear (extrapolates samples using a linear slope between samples)
67 #  2 - Cubic (extrapolates samples using a Catmull-Rom spline)
68 #  Specifying other values will result in using the default (linear).
69 #resampler = 1
70 resampler = 0
71
72 ## rt-prio:
73 #  Sets real-time priority for the mixing thread. Not all drivers may use this
74 #  (eg. PortAudio) as they already control the priority of the mixing thread.
75 #  0 and negative values will disable it. Note that this may constitute a
76 #  security risk since a real-time priority thread can indefinitely block
77 #  normal-priority threads if it fails to wait. As such, the default is
78 #  disabled.
79 #rt-prio = 0
80
81 ## period_size:
82 #  Sets the update period size, in frames. This is the number of frames needed
83 #  for each mixing update.
84 #period_size = 1024
85 period_size = 2048
86
87 ## periods:
88 #  Sets the number of update periods. Higher values create a larger mix ahead,
89 #  which helps protect against skips when the CPU is under load, but increases
90 #  the delay between a sound getting mixed and being heard.
91 #periods = 4
92 periods = 8
93
94 ## sources:
95 #  Sets the maximum number of allocatable sources. Lower values may help for
96 #  systems with apps that try to play more sounds than the CPU can handle.
97 #sources = 256
98 sources = 32
99
100 ## stereodup:
101 #  Sets whether to duplicate stereo sounds on the rear and side speakers for 4+
102 #  channel output. This provides a "fuller" playback quality for 4+ channel
103 #  output modes, although each individual speaker will have a slight reduction
104 #  in volume to compensate for the extra output speakers. True, yes, on, and
105 #  non-0 values will duplicate stereo sources. 0 and anything else will cause
106 #  stereo sounds to only play out the front speakers. This only has an effect
107 #  when a suitable output format is used (ie. those that contain side and/or
108 #  rear speakers).
109 #stereodup = true
110
111 ## scalemix:
112 #  Sets whether to scale the remixed output. When the final mix is written to
113 #  the device, the multi-channel data is remixed so pure-virtual channels (eg.
114 #  front-center on stereo output) are remixed and added to available channels
115 #  (eg. front-left and front-right). Scaling helps ensure that no single source
116 #  will put out more than 100% on a given physical channel. This can cause a
117 #  noticeable reduction in overall volume, however, so it is off by default.
118 #scalemix = false
119
120 ## drivers:
121 #  Sets the backend driver list order, comma-seperated. Unknown backends and
122 #  duplicated names are ignored. Unlisted backends won't be considered for use
123 #  unless the list is ended with a comma (eg. 'oss,' will list OSS first
124 #  followed by all other available backends, while 'oss' will list OSS only).
125 #  An empty list means the default.
126 #drivers = pulse,alsa,oss,solaris,dsound,winmm,port,wave
127 drivers = pulse
128
129 ## excludefx:
130 #  Sets which effects to exclude, preventing apps from using them. This can
131 #  help for apps that try to use effects which are too CPU intensive for the
132 #  system to handle. Available effects are: eaxreverb,reverb,echo
133 #excludefx =
134 excludefx = eaxreverb,reverb,echo
135
136 ## slots:
137 #  Sets the maximum number of Auxiliary Effect Slots an app can create. A slot
138 #  can use a non-negligible amount of CPU time if an effect is set on it even
139 #  if no sources are feeding it, so this may help when apps use more than the
140 #  system can handle.
141 #slots = 4
142
143 ## sends:
144 #  Sets the number of auxiliary sends per source. When not specified (default),
145 #  it allows the app to request how many it wants. The maximum value currently
146 #  possible is 4.
147 #sends =
148
149 ## layout:
150 #  Sets the virtual speaker layout. Values are specified in degrees, where 0 is
151 #  straight in front, negative goes left, and positive goes right. Unspecified
152 #  speakers will remain at their default positions (which are dependant on the
153 #  output format). Available speakers are back-left(bl), side-left(sl), front-
154 #  left(fl), front-center(fc), front-right(fr), side-right(sr), back-right(br),
155 #  and back-center(bc).
156 #layout =
157
158 ## layout_*:
159 #  Channel-specific layouts may be specified to override the layout option. The
160 #  same speakers as the layout option are available, and the default settings
161 #  are shown below.
162 #layout_STEREO = fl=-90, fr=90
163 #layout_QUAD   = fl=-45, fr=45, bl=-135, br=135
164 #layout_51CHN  = fl=-30, fr=30, fc=0, bl=-110, br=110
165 #layout_61CHN  = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
166 #layout_71CHN  = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
167
168 ##
169 ## ALSA backend stuff
170 ##
171 [alsa]
172
173 ## device:
174 #  Sets the device name for the default playback device.
175 #device = default
176
177 ## capture:
178 #  Sets the device name for the default capture device.
179 #capture = default
180
181 ## mmap:
182 #  Sets whether to try using mmap mode (helps reduce latencies and CPU
183 #  consumption). If mmap isn't available, it will automatically fall back to
184 #  non-mmap mode. True, yes, on, and non-0 values will attempt to use mmap. 0
185 #  and anything else will force mmap off.
186 #mmap = true
187
188 ##
189 ## OSS backend stuff
190 ##
191 [oss]
192
193 ## device:
194 #  Sets the device name for OSS output.
195 #device = /dev/dsp
196
197 ## capture:
198 #  Sets the device name for OSS capture.
199 #capture = /dev/dsp
200
201 ##
202 ## Solaris backend stuff
203 ##
204 [solaris]
205
206 ## device:
207 #  Sets the device name for Solaris output.
208 #device = /dev/audio
209
210 ##
211 ## DirectSound backend stuff
212 ##
213 [dsound]
214
215 ##
216 ## Windows Multimedia backend stuff
217 ##
218 [winmm]
219
220 ##
221 ## PortAudio backend stuff
222 ##
223 [port]
224
225 ## device:
226 #  Sets the device index for output. Negative values will use the default as
227 #  given by PortAudio itself.
228 #device = -1
229
230 ## capture:
231 #  Sets the device index for capture. Negative values will use the default as
232 #  given by PortAudio itself.
233 #capture = -1
234
235 ##
236 ## PulseAudio backend stuff
237 ##
238 [pulse]
239
240 ## spawn-server:
241 #  Attempts to spawn a PulseAudio server when requesting to open a PulseAudio
242 #  device. Note that some apps may open and probe all enumerated devices on
243 #  startup, causing a server to spawn even if a PulseAudio device is not
244 #  actually selected. Setting autospawn to false in Pulse's client.conf will
245 #  still prevent autospawning even if this is set to true.
246 #spawn-server = false
247
248 ##
249 ## Wave File Writer stuff
250 ##
251 [wave]
252
253 ## file:
254 #  Sets the filename of the wave file to write to. An empty name prevents the
255 #  backend from opening, even when explicitly requested.
256 #  THIS WILL OVERWRITE EXISTING FILES WITHOUT QUESTION!
257 #file =