Merge branch 'topic/oss' into for-linus
[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
7 select SND_TIMER
1da177e4
LT
8
9config SND_HWDEP
10 tristate
1da177e4
LT
11
12config SND_RAWMIDI
13 tristate
1da177e4 14
0d94e41a
MB
15# To be effective this also requires INPUT - users should say:
16# select SND_JACK if INPUT=y || INPUT=SND
17# to avoid having to force INPUT on.
18config SND_JACK
19 bool
20
1da177e4
LT
21config SND_SEQUENCER
22 tristate "Sequencer support"
1da177e4
LT
23 select SND_TIMER
24 help
25 Say Y or M to enable MIDI sequencer and router support. This
26 feature allows routing and enqueueing of MIDI events. Events
27 can be processed at a given time.
28
29 Many programs require this feature, so you should enable it
30 unless you know what you're doing.
31
32config SND_SEQ_DUMMY
33 tristate "Sequencer dummy client"
34 depends on SND_SEQUENCER
35 help
36 Say Y here to enable the dummy sequencer client. This client
37 is a simple MIDI-through client: all normal input events are
38 redirected to the output port immediately.
39
40 You don't need this unless you want to connect many MIDI
41 devices or applications together.
42
43 To compile this driver as a module, choose M here: the module
44 will be called snd-seq-dummy.
45
46config SND_OSSEMUL
d886e87c 47 select SOUND_OSS_CORE
1da177e4 48 bool
1da177e4
LT
49
50config SND_MIXER_OSS
51 tristate "OSS Mixer API"
1da177e4
LT
52 select SND_OSSEMUL
53 help
54 To enable OSS mixer API emulation (/dev/mixer*), say Y here
55 and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
56
57 Many programs still use the OSS API, so say Y.
58
59 To compile this driver as a module, choose M here: the module
60 will be called snd-mixer-oss.
61
62config SND_PCM_OSS
63 tristate "OSS PCM (digital audio) API"
1da177e4
LT
64 select SND_OSSEMUL
65 select SND_PCM
66 help
67 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
68 here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
69
70 Many programs still use the OSS API, so say Y.
71
72 To compile this driver as a module, choose M here: the module
73 will be called snd-pcm-oss.
74
21a3479a
JK
75config SND_PCM_OSS_PLUGINS
76 bool "OSS PCM (digital audio) API - Include plugin system"
77 depends on SND_PCM_OSS
78 default y
79 help
80 If you disable this option, the ALSA's OSS PCM API will not
81 support conversion of channels, formats and rates. It will
82 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
83
1da177e4
LT
84config SND_SEQUENCER_OSS
85 bool "OSS Sequencer API"
89fe5117 86 depends on SND_SEQUENCER
1da177e4
LT
87 select SND_OSSEMUL
88 help
89 Say Y here to enable OSS sequencer emulation (both
90 /dev/sequencer and /dev/music interfaces).
91
92 Many programs still use the OSS API, so say Y.
93
c2f60c52
FD
94 If you choose M in "Sequencer support" (SND_SEQUENCER),
95 this will be compiled as a module. The module will be called
96 snd-seq-oss.
1da177e4 97
bbaf5e97
TI
98config SND_HRTIMER
99 tristate "HR-timer backend support"
100 depends on HIGH_RES_TIMERS
101 select SND_TIMER
102 help
103 Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
104 the hrtimer as a precise timing source. The ALSA sequencer code
105 also can use this timing source.
106
107 To compile this driver as a module, choose M here: the module
108 will be called snd-hrtimer.
109
110config SND_SEQ_HRTIMER_DEFAULT
111 bool "Use HR-timer as default sequencer timer"
112 depends on SND_HRTIMER && SND_SEQUENCER
113 default y
114 help
115 Say Y here to use the HR-timer backend as the default sequencer
116 timer.
117
1da177e4
LT
118config SND_RTCTIMER
119 tristate "RTC Timer support"
89fe5117 120 depends on RTC
1da177e4
LT
121 select SND_TIMER
122 help
123 Say Y here to enable RTC timer support for ALSA. ALSA uses
124 the RTC timer as a precise timing source and maps the RTC
125 timer to ALSA's timer interface. The ALSA sequencer code also
126 can use this timing source.
127
128 To compile this driver as a module, choose M here: the module
129 will be called snd-rtctimer.
130
52948b3f
TI
131 Note that this option is exclusive with the new RTC drivers
132 (CONFIG_RTC_CLASS) since this requires the old API.
133
a4f508b2
CL
134config SND_SEQ_RTCTIMER_DEFAULT
135 bool "Use RTC as default sequencer timer"
136 depends on SND_RTCTIMER && SND_SEQUENCER
e78a37bc 137 depends on !SND_SEQ_HRTIMER_DEFAULT
a4f508b2
CL
138 default y
139 help
140 Say Y here to use the RTC timer as the default sequencer
141 timer. This is strongly recommended because it ensures
142 precise MIDI timing even when the system timer runs at less
143 than 1000 Hz.
144
145 If in doubt, say Y.
146
332682b1 147config SND_DYNAMIC_MINORS
b10e5391 148 bool "Dynamic device file minor numbers"
332682b1
CL
149 help
150 If you say Y here, the minor numbers of ALSA device files in
151 /dev/snd/ are allocated dynamically. This allows you to have
152 more than 8 sound cards, but requires a dynamic device file
153 system like udev.
154
155 If you are unsure about this, say N here.
156
59d48582
TI
157config SND_SUPPORT_OLD_API
158 bool "Support old ALSA API"
59d48582
TI
159 default y
160 help
161 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
162 or older).
163
21a3479a
JK
164config SND_VERBOSE_PROCFS
165 bool "Verbose procfs contents"
89fe5117 166 depends on PROC_FS
21a3479a
JK
167 default y
168 help
169 Say Y here to include code for verbose procfs contents (provides
a982ac06 170 useful information to developers when a problem occurs). On the
21a3479a
JK
171 other side, it makes the ALSA subsystem larger.
172
1da177e4
LT
173config SND_VERBOSE_PRINTK
174 bool "Verbose printk"
1da177e4
LT
175 help
176 Say Y here to enable verbose log messages. These messages
177 will help to identify source file and position containing
178 printed messages.
179
180 You don't need this unless you're debugging ALSA.
181
182config SND_DEBUG
183 bool "Debug"
1da177e4
LT
184 help
185 Say Y here to enable ALSA debug code.
186
62cf872a
TI
187config SND_DEBUG_VERBOSE
188 bool "More verbose debug"
1da177e4
LT
189 depends on SND_DEBUG
190 help
62cf872a
TI
191 Say Y here to enable extra-verbose debugging messages.
192
193 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
194 So, say Y only if you are ready to be annoyed.
61fb63c0
JK
195
196config SND_PCM_XRUN_DEBUG
197 bool "Enable PCM ring buffer overrun/underrun debugging"
198 default n
b7d90a35 199 depends on SND_DEBUG && SND_VERBOSE_PROCFS
61fb63c0
JK
200 help
201 Say Y to enable the PCM ring buffer overrun/underrun debugging.
202 It is usually not required, but if you have trouble with
203 sound clicking when system is loaded, it may help to determine
204 the process or driver which causes the scheduling gaps.
e922b002
TI
205
206config SND_VMASTER
207 bool
0528c749 208
cc6a8acd
TI
209config SND_DMA_SGBUF
210 def_bool y
211 depends on X86
212
0528c749 213source "sound/core/seq/Kconfig"