blob: 6d12ca9bcb807d3a79a20f342eb15093ee8db9c9 [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 +010027config SND_JACK
28 bool
29
Takashi Iwaife0d1282016-02-17 09:44:25 +010030# 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070036config SND_SEQUENCER
37 tristate "Sequencer support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070038 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
Tejun Heod886e872008-08-28 16:42:51 +020062 select SOUND_OSS_CORE
Linus Torvalds1da177e2005-04-16 15:20:36 -070063 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070064
65config SND_MIXER_OSS
66 tristate "OSS Mixer API"
Linus Torvalds1da177e2005-04-16 15:20:36 -070067 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"
Linus Torvalds1da177e2005-04-16 15:20:36 -070079 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
Jaroslav Kysela21a34792006-01-13 09:12:11 +010090config 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
Jie Yang90bbaf62015-10-16 17:57:46 +080099config SND_PCM_TIMER
100 bool "PCM timer interface" if EXPERT
101 default y
102 help
Randy Dunlapac1efcf2016-01-27 18:04:10 -0800103 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
Jie Yang90bbaf62015-10-16 17:57:46 +0800105 incorrectlly.
106
Randy Dunlapac1efcf2016-01-27 18:04:10 -0800107 For some embedded devices, we may disable it to reduce memory
Jie Yang90bbaf62015-10-16 17:57:46 +0800108 footprint, about 20KB on x86_64 platform.
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110config SND_SEQUENCER_OSS
111 bool "OSS Sequencer API"
Takashi Iwai89fe5112008-05-23 16:10:37 +0200112 depends on SND_SEQUENCER
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113 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
Frederik Deweerdtc2f60c52006-03-31 13:13:23 +0200120 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123
Takashi Iwaibbaf5e92008-10-24 18:16:50 +0200124config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144config SND_RTCTIMER
145 tristate "RTC Timer support"
Takashi Iwai89fe5112008-05-23 16:10:37 +0200146 depends on RTC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147 select SND_TIMER
148 help
149 Say Y here to enable RTC timer support for ALSA. ALSA uses
150 the RTC timer as a precise timing source and maps the RTC
151 timer to ALSA's timer interface. The ALSA sequencer code also
152 can use this timing source.
153
154 To compile this driver as a module, choose M here: the module
155 will be called snd-rtctimer.
156
Takashi Iwai52948b32008-10-07 16:13:59 +0200157 Note that this option is exclusive with the new RTC drivers
158 (CONFIG_RTC_CLASS) since this requires the old API.
159
Clemens Ladischa4f508b2005-09-06 08:00:19 +0200160config SND_SEQ_RTCTIMER_DEFAULT
161 bool "Use RTC as default sequencer timer"
162 depends on SND_RTCTIMER && SND_SEQUENCER
Takashi Iwaie78a37b2008-10-29 16:08:01 +0100163 depends on !SND_SEQ_HRTIMER_DEFAULT
Clemens Ladischa4f508b2005-09-06 08:00:19 +0200164 default y
165 help
166 Say Y here to use the RTC timer as the default sequencer
167 timer. This is strongly recommended because it ensures
168 precise MIDI timing even when the system timer runs at less
169 than 1000 Hz.
170
171 If in doubt, say Y.
172
Clemens Ladisch332682b2005-11-20 14:07:47 +0100173config SND_DYNAMIC_MINORS
Clemens Ladischb10e5392006-06-27 08:41:26 +0200174 bool "Dynamic device file minor numbers"
Clemens Ladisch332682b2005-11-20 14:07:47 +0100175 help
176 If you say Y here, the minor numbers of ALSA device files in
177 /dev/snd/ are allocated dynamically. This allows you to have
178 more than 8 sound cards, but requires a dynamic device file
179 system like udev.
180
181 If you are unsure about this, say N here.
182
Takashi Iwai7bb24912013-05-15 08:46:39 +0200183config SND_MAX_CARDS
184 int "Max number of sound cards"
185 range 4 256
186 default 32
187 depends on SND_DYNAMIC_MINORS
188 help
189 Specify the max number of sound cards that can be assigned
190 on a single machine.
191
Takashi Iwai59d48582005-12-01 10:51:58 +0100192config SND_SUPPORT_OLD_API
193 bool "Support old ALSA API"
Takashi Iwai59d48582005-12-01 10:51:58 +0100194 default y
195 help
196 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
197 or older).
198
Jie Yange0ecb052015-05-27 19:45:44 +0800199config SND_PROC_FS
200 bool "Sound Proc FS Support" if EXPERT
201 depends on PROC_FS
202 default y
203 help
204 Say 'N' to disable Sound proc FS, which may reduce code size about
205 9KB on x86_64 platform.
206 If unsure say Y.
207
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100208config SND_VERBOSE_PROCFS
209 bool "Verbose procfs contents"
Jie Yange0ecb052015-05-27 19:45:44 +0800210 depends on SND_PROC_FS
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100211 default y
212 help
213 Say Y here to include code for verbose procfs contents (provides
Matt LaPlantea982ac02007-05-09 07:35:06 +0200214 useful information to developers when a problem occurs). On the
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100215 other side, it makes the ALSA subsystem larger.
216
Linus Torvalds1da177e2005-04-16 15:20:36 -0700217config SND_VERBOSE_PRINTK
218 bool "Verbose printk"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219 help
220 Say Y here to enable verbose log messages. These messages
221 will help to identify source file and position containing
222 printed messages.
223
224 You don't need this unless you're debugging ALSA.
225
226config SND_DEBUG
227 bool "Debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 help
229 Say Y here to enable ALSA debug code.
230
Takashi Iwai62cf8722008-05-20 12:15:15 +0200231config SND_DEBUG_VERBOSE
232 bool "More verbose debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233 depends on SND_DEBUG
234 help
Takashi Iwai62cf8722008-05-20 12:15:15 +0200235 Say Y here to enable extra-verbose debugging messages.
236
237 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
238 So, say Y only if you are ready to be annoyed.
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200239
240config SND_PCM_XRUN_DEBUG
241 bool "Enable PCM ring buffer overrun/underrun debugging"
242 default n
Takashi Iwaib7d90a32006-04-25 12:56:04 +0200243 depends on SND_DEBUG && SND_VERBOSE_PROCFS
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200244 help
245 Say Y to enable the PCM ring buffer overrun/underrun debugging.
246 It is usually not required, but if you have trouble with
247 sound clicking when system is loaded, it may help to determine
248 the process or driver which causes the scheduling gaps.
Takashi Iwaie922b002008-02-18 13:03:13 +0100249
250config SND_VMASTER
251 bool
Michal Marek0528c742009-05-26 17:07:52 +0200252
Takashi Iwaicc6a8ac2008-06-17 16:39:06 +0200253config SND_DMA_SGBUF
254 def_bool y
255 depends on X86
256
Michal Marek0528c742009-05-26 17:07:52 +0200257source "sound/core/seq/Kconfig"