Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux-2.6-block.git] / sound / core / Kconfig
CommitLineData
1da177e4
LT
1# ALSA soundcard-configuration
2config SND_TIMER
3 tristate
1da177e4
LT
4
5config SND_PCM
6 tristate
90bbaf66 7 select SND_TIMER if SND_PCM_TIMER
1da177e4 8
838d1631
RK
9config SND_PCM_ELD
10 bool
11
9203dd01
RK
12config SND_PCM_IEC958
13 bool
14
b7ae6f31 15config SND_DMAENGINE_PCM
903eb318 16 tristate
b7ae6f31 17
1da177e4
LT
18config SND_HWDEP
19 tristate
1da177e4
LT
20
21config SND_RAWMIDI
22 tristate
1da177e4 23
5c845beb
TI
24config SND_COMPRESS_OFFLOAD
25 tristate
26
0d94e41a
MB
27config SND_JACK
28 bool
29
fe0d128c
TI
30# enable input device support in jack layer
31config SND_JACK_INPUT_DEV
32 bool
33 depends on SND_JACK
34 default y if INPUT=y || INPUT=SND
35
1da177e4
LT
36config SND_SEQUENCER
37 tristate "Sequencer support"
1da177e4
LT
38 select SND_TIMER
39 help
40 Say Y or M to enable MIDI sequencer and router support. This
41 feature allows routing and enqueueing of MIDI events. Events
42 can be processed at a given time.
43
44 Many programs require this feature, so you should enable it
45 unless you know what you're doing.
46
47config SND_SEQ_DUMMY
48 tristate "Sequencer dummy client"
49 depends on SND_SEQUENCER
50 help
51 Say Y here to enable the dummy sequencer client. This client
52 is a simple MIDI-through client: all normal input events are
53 redirected to the output port immediately.
54
55 You don't need this unless you want to connect many MIDI
56 devices or applications together.
57
58 To compile this driver as a module, choose M here: the module
59 will be called snd-seq-dummy.
60
61config SND_OSSEMUL
d886e87c 62 select SOUND_OSS_CORE
1da177e4 63 bool
1da177e4
LT
64
65config SND_MIXER_OSS
66 tristate "OSS Mixer API"
1da177e4
LT
67 select SND_OSSEMUL
68 help
69 To enable OSS mixer API emulation (/dev/mixer*), say Y here
70 and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
71
72 Many programs still use the OSS API, so say Y.
73
74 To compile this driver as a module, choose M here: the module
75 will be called snd-mixer-oss.
76
77config SND_PCM_OSS
78 tristate "OSS PCM (digital audio) API"
1da177e4
LT
79 select SND_OSSEMUL
80 select SND_PCM
81 help
82 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
83 here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
84
85 Many programs still use the OSS API, so say Y.
86
87 To compile this driver as a module, choose M here: the module
88 will be called snd-pcm-oss.
89
21a3479a
JK
90config SND_PCM_OSS_PLUGINS
91 bool "OSS PCM (digital audio) API - Include plugin system"
92 depends on SND_PCM_OSS
93 default y
94 help
95 If you disable this option, the ALSA's OSS PCM API will not
96 support conversion of channels, formats and rates. It will
97 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
98
90bbaf66
JY
99config SND_PCM_TIMER
100 bool "PCM timer interface" if EXPERT
101 default y
102 help
ac1efcfb
RD
103 If you disable this option, pcm timer will be unavailable, so
104 those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
90bbaf66
JY
105 incorrectlly.
106
ac1efcfb 107 For some embedded devices, we may disable it to reduce memory
90bbaf66
JY
108 footprint, about 20KB on x86_64 platform.
109
1da177e4
LT
110config SND_SEQUENCER_OSS
111 bool "OSS Sequencer API"
89fe5117 112 depends on SND_SEQUENCER
1da177e4
LT
113 select SND_OSSEMUL
114 help
115 Say Y here to enable OSS sequencer emulation (both
116 /dev/sequencer and /dev/music interfaces).
117
118 Many programs still use the OSS API, so say Y.
119
c2f60c52
FD
120 If you choose M in "Sequencer support" (SND_SEQUENCER),
121 this will be compiled as a module. The module will be called
122 snd-seq-oss.
1da177e4 123
bbaf5e97
TI
124config SND_HRTIMER
125 tristate "HR-timer backend support"
126 depends on HIGH_RES_TIMERS
127 select SND_TIMER
128 help
129 Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
130 the hrtimer as a precise timing source. The ALSA sequencer code
131 also can use this timing source.
132
133 To compile this driver as a module, choose M here: the module
134 will be called snd-hrtimer.
135
136config SND_SEQ_HRTIMER_DEFAULT
137 bool "Use HR-timer as default sequencer timer"
138 depends on SND_HRTIMER && SND_SEQUENCER
139 default y
140 help
141 Say Y here to use the HR-timer backend as the default sequencer
142 timer.
143
332682b1 144config SND_DYNAMIC_MINORS
b10e5391 145 bool "Dynamic device file minor numbers"
332682b1
CL
146 help
147 If you say Y here, the minor numbers of ALSA device files in
148 /dev/snd/ are allocated dynamically. This allows you to have
149 more than 8 sound cards, but requires a dynamic device file
150 system like udev.
151
152 If you are unsure about this, say N here.
153
7bb2491b
TI
154config SND_MAX_CARDS
155 int "Max number of sound cards"
156 range 4 256
157 default 32
158 depends on SND_DYNAMIC_MINORS
159 help
160 Specify the max number of sound cards that can be assigned
161 on a single machine.
162
59d48582
TI
163config SND_SUPPORT_OLD_API
164 bool "Support old ALSA API"
59d48582
TI
165 default y
166 help
167 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
168 or older).
169
e0ecb05a
JY
170config SND_PROC_FS
171 bool "Sound Proc FS Support" if EXPERT
172 depends on PROC_FS
173 default y
174 help
175 Say 'N' to disable Sound proc FS, which may reduce code size about
176 9KB on x86_64 platform.
177 If unsure say Y.
178
21a3479a
JK
179config SND_VERBOSE_PROCFS
180 bool "Verbose procfs contents"
e0ecb05a 181 depends on SND_PROC_FS
21a3479a
JK
182 default y
183 help
184 Say Y here to include code for verbose procfs contents (provides
a982ac06 185 useful information to developers when a problem occurs). On the
21a3479a
JK
186 other side, it makes the ALSA subsystem larger.
187
1da177e4
LT
188config SND_VERBOSE_PRINTK
189 bool "Verbose printk"
1da177e4
LT
190 help
191 Say Y here to enable verbose log messages. These messages
192 will help to identify source file and position containing
193 printed messages.
194
195 You don't need this unless you're debugging ALSA.
196
197config SND_DEBUG
198 bool "Debug"
1da177e4
LT
199 help
200 Say Y here to enable ALSA debug code.
201
62cf872a
TI
202config SND_DEBUG_VERBOSE
203 bool "More verbose debug"
1da177e4
LT
204 depends on SND_DEBUG
205 help
62cf872a
TI
206 Say Y here to enable extra-verbose debugging messages.
207
208 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
209 So, say Y only if you are ready to be annoyed.
61fb63c0
JK
210
211config SND_PCM_XRUN_DEBUG
212 bool "Enable PCM ring buffer overrun/underrun debugging"
213 default n
b7d90a35 214 depends on SND_DEBUG && SND_VERBOSE_PROCFS
61fb63c0
JK
215 help
216 Say Y to enable the PCM ring buffer overrun/underrun debugging.
217 It is usually not required, but if you have trouble with
218 sound clicking when system is loaded, it may help to determine
219 the process or driver which causes the scheduling gaps.
e922b002
TI
220
221config SND_VMASTER
222 bool
0528c749 223
cc6a8acd
TI
224config SND_DMA_SGBUF
225 def_bool y
226 depends on X86
227
0528c749 228source "sound/core/seq/Kconfig"