blob: db2e3c63ff41a15fa6ff45b186b242b6a89e3cd7 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds1da177e2005-04-16 15:20:36 -07002# ALSA soundcard-configuration
3config SND_TIMER
4 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
6config SND_PCM
7 tristate
Jie Yang90bbaf62015-10-16 17:57:46 +08008 select SND_TIMER if SND_PCM_TIMER
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Russell King838d1632015-05-09 11:26:42 +010010config SND_PCM_ELD
11 bool
12
Russell King9203dd02015-05-09 11:26:47 +010013config SND_PCM_IEC958
14 bool
15
Daniel Mackb7ae6f32013-08-12 10:42:37 +020016config SND_DMAENGINE_PCM
Daniel Mack903eb312013-08-15 16:03:52 +020017 tristate
Daniel Mackb7ae6f32013-08-12 10:42:37 +020018
Linus Torvalds1da177e2005-04-16 15:20:36 -070019config SND_HWDEP
20 tristate
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Takashi Iwai111b0cd2017-06-09 15:11:58 +020022config SND_SEQ_DEVICE
23 tristate
24
Linus Torvalds1da177e2005-04-16 15:20:36 -070025config SND_RAWMIDI
26 tristate
Takashi Iwai111b0cd2017-06-09 15:11:58 +020027 select SND_SEQ_DEVICE if SND_SEQUENCER != n
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
Takashi Iwai5c845be2012-01-13 09:53:53 +010029config SND_COMPRESS_OFFLOAD
30 tristate
31
Mark Brown0d94e412008-07-28 19:05:36 +010032config SND_JACK
33 bool
34
Takashi Iwaife0d1282016-02-17 09:44:25 +010035# enable input device support in jack layer
36config SND_JACK_INPUT_DEV
37 bool
38 depends on SND_JACK
39 default y if INPUT=y || INPUT=SND
40
Linus Torvalds1da177e2005-04-16 15:20:36 -070041config SND_OSSEMUL
Takashi Iwaieb3b7052017-06-09 13:56:05 +020042 bool "Enable OSS Emulation"
Tejun Heod886e872008-08-28 16:42:51 +020043 select SOUND_OSS_CORE
Takashi Iwaieb3b7052017-06-09 13:56:05 +020044 help
45 This option enables the build of OSS emulation layer.
Linus Torvalds1da177e2005-04-16 15:20:36 -070046
47config SND_MIXER_OSS
48 tristate "OSS Mixer API"
Takashi Iwaieb3b7052017-06-09 13:56:05 +020049 depends on SND_OSSEMUL
Linus Torvalds1da177e2005-04-16 15:20:36 -070050 help
51 To enable OSS mixer API emulation (/dev/mixer*), say Y here
Mauro Carvalho Chehab5fb94e92018-05-08 15:14:57 -030052 and read <file:Documentation/sound/designs/oss-emulation.rst>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070053
54 Many programs still use the OSS API, so say Y.
55
56 To compile this driver as a module, choose M here: the module
57 will be called snd-mixer-oss.
58
59config SND_PCM_OSS
60 tristate "OSS PCM (digital audio) API"
Takashi Iwaieb3b7052017-06-09 13:56:05 +020061 depends on SND_OSSEMUL
Linus Torvalds1da177e2005-04-16 15:20:36 -070062 select SND_PCM
63 help
64 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
Mauro Carvalho Chehab5fb94e92018-05-08 15:14:57 -030065 here and read <file:Documentation/sound/designs/oss-emulation.rst>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070066
67 Many programs still use the OSS API, so say Y.
68
69 To compile this driver as a module, choose M here: the module
70 will be called snd-pcm-oss.
71
Jaroslav Kysela21a34792006-01-13 09:12:11 +010072config SND_PCM_OSS_PLUGINS
73 bool "OSS PCM (digital audio) API - Include plugin system"
74 depends on SND_PCM_OSS
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +020075 default y
Jaroslav Kysela21a34792006-01-13 09:12:11 +010076 help
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +020077 If you disable this option, the ALSA's OSS PCM API will not
78 support conversion of channels, formats and rates. It will
79 behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
Jaroslav Kysela21a34792006-01-13 09:12:11 +010080
Jie Yang90bbaf62015-10-16 17:57:46 +080081config SND_PCM_TIMER
82 bool "PCM timer interface" if EXPERT
83 default y
84 help
Randy Dunlapac1efcf2016-01-27 18:04:10 -080085 If you disable this option, pcm timer will be unavailable, so
86 those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
Jie Yang90bbaf62015-10-16 17:57:46 +080087 incorrectlly.
88
Randy Dunlapac1efcf2016-01-27 18:04:10 -080089 For some embedded devices, we may disable it to reduce memory
Jie Yang90bbaf62015-10-16 17:57:46 +080090 footprint, about 20KB on x86_64 platform.
91
Takashi Iwaibbaf5e92008-10-24 18:16:50 +020092config SND_HRTIMER
93 tristate "HR-timer backend support"
94 depends on HIGH_RES_TIMERS
95 select SND_TIMER
96 help
97 Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
98 the hrtimer as a precise timing source. The ALSA sequencer code
99 also can use this timing source.
100
101 To compile this driver as a module, choose M here: the module
102 will be called snd-hrtimer.
103
Clemens Ladisch332682b2005-11-20 14:07:47 +0100104config SND_DYNAMIC_MINORS
Clemens Ladischb10e5392006-06-27 08:41:26 +0200105 bool "Dynamic device file minor numbers"
Clemens Ladisch332682b2005-11-20 14:07:47 +0100106 help
107 If you say Y here, the minor numbers of ALSA device files in
108 /dev/snd/ are allocated dynamically. This allows you to have
109 more than 8 sound cards, but requires a dynamic device file
110 system like udev.
111
112 If you are unsure about this, say N here.
113
Takashi Iwai7bb24912013-05-15 08:46:39 +0200114config SND_MAX_CARDS
115 int "Max number of sound cards"
116 range 4 256
117 default 32
118 depends on SND_DYNAMIC_MINORS
119 help
120 Specify the max number of sound cards that can be assigned
121 on a single machine.
122
Takashi Iwai59d48582005-12-01 10:51:58 +0100123config SND_SUPPORT_OLD_API
124 bool "Support old ALSA API"
Takashi Iwai59d48582005-12-01 10:51:58 +0100125 default y
126 help
127 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
128 or older).
129
Jie Yange0ecb052015-05-27 19:45:44 +0800130config SND_PROC_FS
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200131 bool "Sound Proc FS Support" if EXPERT
132 depends on PROC_FS
133 default y
134 help
135 Say 'N' to disable Sound proc FS, which may reduce code size about
136 9KB on x86_64 platform.
137 If unsure say Y.
Jie Yange0ecb052015-05-27 19:45:44 +0800138
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100139config SND_VERBOSE_PROCFS
140 bool "Verbose procfs contents"
Jie Yange0ecb052015-05-27 19:45:44 +0800141 depends on SND_PROC_FS
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100142 default y
143 help
144 Say Y here to include code for verbose procfs contents (provides
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200145 useful information to developers when a problem occurs). On the
146 other side, it makes the ALSA subsystem larger.
Jaroslav Kysela21a34792006-01-13 09:12:11 +0100147
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148config SND_VERBOSE_PRINTK
149 bool "Verbose printk"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150 help
151 Say Y here to enable verbose log messages. These messages
152 will help to identify source file and position containing
153 printed messages.
154
155 You don't need this unless you're debugging ALSA.
156
157config SND_DEBUG
158 bool "Debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159 help
160 Say Y here to enable ALSA debug code.
161
Takashi Iwai62cf8722008-05-20 12:15:15 +0200162config SND_DEBUG_VERBOSE
163 bool "More verbose debug"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164 depends on SND_DEBUG
165 help
Takashi Iwai62cf8722008-05-20 12:15:15 +0200166 Say Y here to enable extra-verbose debugging messages.
Krzysztof Kozlowski82e8d722019-10-04 16:49:31 +0200167
Takashi Iwai62cf8722008-05-20 12:15:15 +0200168 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
169 So, say Y only if you are ready to be annoyed.
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200170
171config SND_PCM_XRUN_DEBUG
172 bool "Enable PCM ring buffer overrun/underrun debugging"
173 default n
Takashi Iwaib7d90a32006-04-25 12:56:04 +0200174 depends on SND_DEBUG && SND_VERBOSE_PROCFS
Jaroslav Kysela61fb63c2006-04-24 21:57:16 +0200175 help
176 Say Y to enable the PCM ring buffer overrun/underrun debugging.
177 It is usually not required, but if you have trouble with
178 sound clicking when system is loaded, it may help to determine
179 the process or driver which causes the scheduling gaps.
Takashi Iwaie922b002008-02-18 13:03:13 +0100180
Takashi Iwaifbd3eb72020-01-04 09:35:56 +0100181config SND_CTL_VALIDATION
182 bool "Perform sanity-checks for each control element access"
183 depends on SND_DEBUG
184 help
185 Say Y to enable the additional validation of each control element
186 access, including sanity-checks like whether the values returned
187 from the driver are in the proper ranges or the check of the invalid
188 access at out-of-array areas.
189
Hui Wang2d670ea2021-01-27 16:56:39 +0800190config SND_JACK_INJECTION_DEBUG
191 bool "Sound jack injection interface via debugfs"
192 depends on SND_JACK && SND_DEBUG && DEBUG_FS
193 help
194 This option can be used to enable or disable sound jack
195 software injection.
196 Say Y if you are debugging via jack injection interface.
197 If unsure select "N".
198
Takashi Iwaie922b002008-02-18 13:03:13 +0100199config SND_VMASTER
200 bool
Michal Marek0528c742009-05-26 17:07:52 +0200201
Takashi Iwaicc6a8ac2008-06-17 16:39:06 +0200202config SND_DMA_SGBUF
203 def_bool y
204 depends on X86
205
Jaroslav Kysela22d8de62021-03-17 18:29:42 +0100206config SND_CTL_LED
207 tristate
208 select NEW_LEDS if SND_CTL_LED
209 select LEDS_TRIGGERS if SND_CTL_LED
210 select LEDS_TRIGGER_AUDIO if SND_CTL_LED
211
Michal Marek0528c742009-05-26 17:07:52 +0200212source "sound/core/seq/Kconfig"