]> Git Repo - linux.git/blame - sound/core/Kconfig
Merge tag 'pci-v6.1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[linux.git] / sound / core / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
1da177e4
LT
2# ALSA soundcard-configuration
3config SND_TIMER
4 tristate
1da177e4
LT
5
6config SND_PCM
7 tristate
90bbaf66 8 select SND_TIMER if SND_PCM_TIMER
1da177e4 9
838d1631
RK
10config SND_PCM_ELD
11 bool
12
9203dd01
RK
13config SND_PCM_IEC958
14 bool
15
b7ae6f31 16config SND_DMAENGINE_PCM
903eb318 17 tristate
b7ae6f31 18
1da177e4
LT
19config SND_HWDEP
20 tristate
1da177e4 21
111b0cdb
TI
22config SND_SEQ_DEVICE
23 tristate
24
1da177e4
LT
25config SND_RAWMIDI
26 tristate
111b0cdb 27 select SND_SEQ_DEVICE if SND_SEQUENCER != n
1da177e4 28
5c845beb
TI
29config SND_COMPRESS_OFFLOAD
30 tristate
31
0d94e41a
MB
32config SND_JACK
33 bool
34
fe0d128c
TI
35# 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
1da177e4 41config SND_OSSEMUL
eb3b705a 42 bool "Enable OSS Emulation"
d886e87c 43 select SOUND_OSS_CORE
eb3b705a
TI
44 help
45 This option enables the build of OSS emulation layer.
1da177e4
LT
46
47config SND_MIXER_OSS
48 tristate "OSS Mixer API"
eb3b705a 49 depends on SND_OSSEMUL
1da177e4
LT
50 help
51 To enable OSS mixer API emulation (/dev/mixer*), say Y here
5fb94e9c 52 and read <file:Documentation/sound/designs/oss-emulation.rst>.
1da177e4
LT
53
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"
eb3b705a 61 depends on SND_OSSEMUL
1da177e4
LT
62 select SND_PCM
63 help
64 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
5fb94e9c 65 here and read <file:Documentation/sound/designs/oss-emulation.rst>.
1da177e4
LT
66
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
21a3479a
JK
72config SND_PCM_OSS_PLUGINS
73 bool "OSS PCM (digital audio) API - Include plugin system"
74 depends on SND_PCM_OSS
82e8d723 75 default y
21a3479a 76 help
82e8d723
KK
77 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.
21a3479a 80
90bbaf66
JY
81config SND_PCM_TIMER
82 bool "PCM timer interface" if EXPERT
83 default y
84 help
ac1efcfb
RD
85 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
a893b7fc 87 incorrectly.
90bbaf66 88
ac1efcfb 89 For some embedded devices, we may disable it to reduce memory
90bbaf66
JY
90 footprint, about 20KB on x86_64 platform.
91
bbaf5e97
TI
92config 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
332682b1 104config SND_DYNAMIC_MINORS
b10e5391 105 bool "Dynamic device file minor numbers"
332682b1
CL
106 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
7bb2491b
TI
114config 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
59d48582
TI
123config SND_SUPPORT_OLD_API
124 bool "Support old ALSA API"
59d48582
TI
125 default y
126 help
127 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
128 or older).
129
e0ecb05a 130config SND_PROC_FS
82e8d723
KK
131 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.
e0ecb05a 138
21a3479a
JK
139config SND_VERBOSE_PROCFS
140 bool "Verbose procfs contents"
e0ecb05a 141 depends on SND_PROC_FS
21a3479a
JK
142 default y
143 help
144 Say Y here to include code for verbose procfs contents (provides
82e8d723
KK
145 useful information to developers when a problem occurs). On the
146 other side, it makes the ALSA subsystem larger.
21a3479a 147
1da177e4
LT
148config SND_VERBOSE_PRINTK
149 bool "Verbose printk"
1da177e4
LT
150 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
c27e1efb
TI
157config SND_CTL_FAST_LOOKUP
158 bool "Fast lookup of control elements" if EXPERT
159 default y
160 select XARRAY_MULTI
161 help
162 This option enables the faster lookup of control elements.
163 It will consume more memory because of the additional Xarray.
164 If you want to choose the memory footprint over the performance
165 inevitably, turn this off.
166
1da177e4
LT
167config SND_DEBUG
168 bool "Debug"
1da177e4
LT
169 help
170 Say Y here to enable ALSA debug code.
171
62cf872a
TI
172config SND_DEBUG_VERBOSE
173 bool "More verbose debug"
1da177e4
LT
174 depends on SND_DEBUG
175 help
62cf872a 176 Say Y here to enable extra-verbose debugging messages.
82e8d723 177
62cf872a
TI
178 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
179 So, say Y only if you are ready to be annoyed.
61fb63c0
JK
180
181config SND_PCM_XRUN_DEBUG
182 bool "Enable PCM ring buffer overrun/underrun debugging"
183 default n
b7d90a35 184 depends on SND_DEBUG && SND_VERBOSE_PROCFS
61fb63c0
JK
185 help
186 Say Y to enable the PCM ring buffer overrun/underrun debugging.
187 It is usually not required, but if you have trouble with
188 sound clicking when system is loaded, it may help to determine
189 the process or driver which causes the scheduling gaps.
e922b002 190
f5e829f9
TI
191config SND_CTL_INPUT_VALIDATION
192 bool "Validate input data to control API"
193 help
194 Say Y to enable the additional validation for the input data to
195 each control element, including the value range checks.
196 An error is returned from ALSA core for invalid inputs without
197 passing to the driver. This is a kind of hardening for drivers
198 that have no proper error checks, at the cost of a slight
199 performance overhead.
200
1b7ec514
TI
201config SND_CTL_DEBUG
202 bool "Enable debugging feature for control API"
fbd3eb7f
TI
203 depends on SND_DEBUG
204 help
1b7ec514
TI
205 Say Y to enable the debugging feature for ALSA control API.
206 It performs the additional sanity-checks for each control element
207 read access, such as whether the values returned from the driver
208 are in the proper ranges or the check of the invalid access at
209 out-of-array areas. The error is printed when the driver gives
210 such unexpected values.
211 When you develop a driver that deals with control elements, it's
212 strongly recommended to try this one once and verify whether you see
213 any relevant errors or not.
fbd3eb7f 214
2d670ea2
HW
215config SND_JACK_INJECTION_DEBUG
216 bool "Sound jack injection interface via debugfs"
217 depends on SND_JACK && SND_DEBUG && DEBUG_FS
218 help
219 This option can be used to enable or disable sound jack
220 software injection.
221 Say Y if you are debugging via jack injection interface.
222 If unsure select "N".
223
e922b002
TI
224config SND_VMASTER
225 bool
0528c749 226
cc6a8acd
TI
227config SND_DMA_SGBUF
228 def_bool y
229 depends on X86
230
22d8de62
JK
231config SND_CTL_LED
232 tristate
233 select NEW_LEDS if SND_CTL_LED
234 select LEDS_TRIGGERS if SND_CTL_LED
235 select LEDS_TRIGGER_AUDIO if SND_CTL_LED
236
0528c749 237source "sound/core/seq/Kconfig"
This page took 0.960433 seconds and 4 git commands to generate.