blob: e3e949126a5639c6a4a623750ec35922704c5110 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# ALSA soundcard-configuration
2config SND_TIMER
3 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5config SND_PCM
6 tristate
Jie Yang90bbaf62015-10-16 17:57:46 +08007 select SND_TIMER if SND_PCM_TIMER
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Russell King838d1632015-05-09 11:26:42 +01009config SND_PCM_ELD
10 bool
11
Russell King9203dd02015-05-09 11:26:47 +010012config SND_PCM_IEC958
13 bool
14
Daniel Mackb7ae6f32013-08-12 10:42:37 +020015config SND_DMAENGINE_PCM
Daniel Mack903eb312013-08-15 16:03:52 +020016 tristate
Daniel Mackb7ae6f32013-08-12 10:42:37 +020017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018config SND_HWDEP
19 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21config SND_RAWMIDI
22 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -070023
Takashi Iwai5c845be2012-01-13 09:53:53 +010024config SND_COMPRESS_OFFLOAD
25 tristate
26
Mark Brown0d94e412008-07-28 19:05:36 +010027# To be effective this also requires INPUT - users should say:
28# select SND_JACK if INPUT=y || INPUT=SND
29# to avoid having to force INPUT on.
30config SND_JACK
31 bool
32
Linus Torvalds1da177e2005-04-16 15:20:36 -070033config SND_SEQUENCER
34 tristate "Sequencer support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070035 select SND_TIMER
36 help
37 Say Y or M to enable MIDI sequencer and router support. This
38 feature allows routing and enqueueing of MIDI events. Events
39 can be processed at a given time.
40
41 Many programs require this feature, so you should enable it
42 unless you know what you're doing.
43
44config SND_SEQ_DUMMY
45 tristate "Sequencer dummy client"
46 depends on SND_SEQUENCER
47 help
48 Say Y here to enable the dummy sequencer client. This client
49 is a simple MIDI-through client: all normal input events are
50 redirected to the output port immediately.
51
52 You don't need this unless you want to connect many MIDI
53 devices or applications together.
54
55 To compile this driver as a module, choose M here: the module
56 will be called snd-seq-dummy.
57
58config SND_OSSEMUL
Tejun Heod886e872008-08-28 16:42:51 +020059 select SOUND_OSS_CORE
Linus Torvalds1da177e2005-04-16 15:20:36 -070060 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070061
62config SND_MIXER_OSS
63 tristate "OSS Mixer API"
Linus Torvalds1da177e2005-04-16 15:20:36 -070064 select SND_OSSEMUL
65 help
66 To enable OSS mixer API emulation (/dev/mixer*), say Y here
67 and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
68
69 Many programs still use the OSS API, so say Y.
70
71 To compile this driver as a module, choose M here: the module
72 will be called snd-mixer-oss.
73
74config SND_PCM_OSS
75 tristate "OSS PCM (digital audio) API"
Linus Torvalds1da177e2005-04-16 15:20:36 -070076 select SND_OSSEMUL
77 select SND_PCM
78 help
79 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
80 here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
81
82 Many programs still use the OSS API, so say Y.
83
84 To compile this driver as a module, choose M here: the module
85 will be called snd-pcm-oss.
86
Jaroslav Kysela21a34792006-01-13 09:12:11 +010087config SND_PCM_OSS_PLUGINS
88 bool "OSS PCM (digital audio) API - Include plugin system"
89 depends on SND_PCM_OSS
90 default y
91 help
92 If you disable this option, the ALSA's OSS PCM API will not
93 support conversion of channels, formats and rates. It will
94 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
95
Jie Yang90bbaf62015-10-16 17:57:46 +080096config SND_PCM_TIMER
97 bool "PCM timer interface" if EXPERT
98 default y
99 help
100 If you disable this option, pcm timer will be inavailable, so
101 those stubs used pcm timer (e.g. dmix, dsnoop & co) may work
102 incorrectlly.
103
104 For some embedded device, we may disable it to reduce memory
105 footprint, about 20KB on x86_64 platform.
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107config SND_SEQUENCER_OSS
108 bool "OSS Sequencer API"
Takashi Iwai89fe5112008-05-23 16:10:37 +0200109 depends on SND_SEQUENCER
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110 select SND_OSSEMUL
111 help
112 Say Y here to enable OSS sequencer emulation (both
113 /dev/sequencer and /dev/music interfaces).
114
115 Many programs still use the OSS API, so say Y.
116
Frederik Deweerdtc2f60c52006-03-31 13:13:23 +0200117 If you choose M in "Sequencer support" (SND_SEQUENCER),
118 this will be compiled as a module. The module will be called
119 snd-seq-oss.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120
Takashi Iwaibbaf5e92008-10-24 18:16:50 +0200121config SND_HRTIMER
122 tristate "HR-timer backend support"
123 depends on HIGH_RES_TIMERS
124 select SND_TIMER
125 help
126 Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
127 the hrtimer as a precise timing source. The ALSA sequencer code
128 also can use this timing source.
129
130 To compile this driver as a module, choose M here: the module
131 will be called snd-hrtimer.
132
133config SND_SEQ_HRTIMER_DEFAULT
134 bool "Use HR-timer as default sequencer timer"
135 depends on SND_HRTIMER && SND_SEQUENCER
136 default y
137 help
138 Say Y here to use the HR-timer backend as the default sequencer
139 timer.
140
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141config SND_RTCTIMER
142 tristate "RTC Timer support"
Takashi Iwai89fe5112008-05-23 16:10:37 +0200143 depends on RTC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 select SND_TIMER
145 help
146 Say Y here to enable RTC timer support for ALSA. ALSA uses
147 the RTC timer as a precise timing source and maps the RTC
148 timer to ALSA's timer interface. The ALSA sequencer code also
149 can use this timing source.
150
151 To compile this driver as a module, choose M here: the module
152 will be called snd-rtctimer.
153
Takashi Iwai52948b32008-10-07 16:13:59 +0200154 Note that this option is exclusive with the new RTC drivers
155 (CONFIG_RTC_CLASS) since this requires the old API.
156
Clemens Ladischa4f508b2005-09-06 08:00:19 +0200157config SND_SEQ_RTCTIMER_DEFAULT
158 bool "Use RTC as default sequencer timer"
159 depends on SND_RTCTIMER && SND_SEQUENCER
Takashi Iwaie78a37b2008-10-29 16:08:01 +0100160 depends on !SND_SEQ_HRTIMER_DEFAULT
Clemens Ladischa4f508b2005-09-06 08:00:19 +0200161 default y
162 help
163 Say Y here to use the RTC timer as the default sequencer
164 timer. This is strongly recommended because it ensures
165 precise MIDI timing even when the system timer runs at less
166 than 1000 Hz.
167
168 If in doubt, say Y.
169
Clemens Ladisch332682b2005-11-20 14:07:47 +0100170config SND_DYNAMIC_MINORS
Clemens Ladischb10e5392006-06-27 08:41:26 +0200171 bool "Dynamic device file minor numbers"
Clemens Ladisch332682b2005-11-20 14:07:47 +0100172 help
173 If you say Y here, the minor numbers of ALSA device files in
174 /dev/snd/ are allocated dynamically. This allows you to have
175 more than 8 sound cards, but requires a dynamic device file
176 system like udev.
177
178 If you are unsure about this, say N here.
179
Takashi Iwai7bb24912013-05-15 08:46:39 +0200180config SND_MAX_CARDS
181 int "Max number of sound cards"
182 range 4 256
183 default 32
184 depends on SND_DYNAMIC_MINORS
185 help
186 Specify the max number of sound cards that can be assigned
187 on a single machine.
188
Takashi Iwai59d48582005-12-01 10:51:58 +0100189config SND_SUPPORT_OLD_API
190 bool "Support old ALSA API"
Takashi Iwai59d48582005-12-01 10:51:58 +0100191 default y
192 help
193 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
194 or older).
195
Jie Yange0ecb052015-05-27 19:45:44 +0800196config SND_PROC_FS
197 bool "Sound Proc FS Support" if EXPERT
198 depends on PROC_FS
199 default y
200 help
201 Say 'N' to disable Sound proc FS, which may reduce code size about
202 9KB on x86_64 platform.
203 If unsure say Y.
204
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100205config SND_VERBOSE_PROCFS
206 bool "Verbose procfs contents"
Jie Yange0ecb052015-05-27 19:45:44 +0800207 depends on SND_PROC_FS
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100208 default y
209 help
210 Say Y here to include code for verbose procfs contents (provides
Matt LaPlantea982ac02007-05-09 07:35:06 +0200211 useful information to developers when a problem occurs). On the
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100212 other side, it makes the ALSA subsystem larger.
213
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214config SND_VERBOSE_PRINTK
215 bool "Verbose printk"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216 help
217 Say Y here to enable verbose log messages. These messages
218 will help to identify source file and position containing
219 printed messages.
220
221 You don't need this unless you're debugging ALSA.
222
223config SND_DEBUG
224 bool "Debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 help
226 Say Y here to enable ALSA debug code.
227
Takashi Iwai62cf8722008-05-20 12:15:15 +0200228config SND_DEBUG_VERBOSE
229 bool "More verbose debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 depends on SND_DEBUG
231 help
Takashi Iwai62cf8722008-05-20 12:15:15 +0200232 Say Y here to enable extra-verbose debugging messages.
233
234 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
235 So, say Y only if you are ready to be annoyed.
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200236
237config SND_PCM_XRUN_DEBUG
238 bool "Enable PCM ring buffer overrun/underrun debugging"
239 default n
Takashi Iwaib7d90a32006-04-25 12:56:04 +0200240 depends on SND_DEBUG && SND_VERBOSE_PROCFS
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200241 help
242 Say Y to enable the PCM ring buffer overrun/underrun debugging.
243 It is usually not required, but if you have trouble with
244 sound clicking when system is loaded, it may help to determine
245 the process or driver which causes the scheduling gaps.
Takashi Iwaie922b002008-02-18 13:03:13 +0100246
247config SND_VMASTER
248 bool
Michal Marek0528c742009-05-26 17:07:52 +0200249
Takashi Iwaicc6a8ac2008-06-17 16:39:06 +0200250config SND_DMA_SGBUF
251 def_bool y
252 depends on X86
253
Michal Marek0528c742009-05-26 17:07:52 +0200254source "sound/core/seq/Kconfig"