1 # SPDX-License-Identifier: GPL-2.0-only
2 # ALSA soundcard-configuration
8 select SND_TIMER if SND_PCM_TIMER
16 config SND_DMAENGINE_PCM
27 select SND_SEQ_DEVICE if SND_SEQUENCER != n
29 config SND_COMPRESS_OFFLOAD
35 # enable input device support in jack layer
36 config SND_JACK_INPUT_DEV
39 default y if INPUT=y || INPUT=SND
42 bool "Enable OSS Emulation"
45 This option enables the build of OSS emulation layer.
48 tristate "OSS Mixer API"
49 depends on SND_OSSEMUL
51 To enable OSS mixer API emulation (/dev/mixer*), say Y here
52 and read <file:Documentation/sound/designs/oss-emulation.rst>.
54 Many programs still use the OSS API, so say Y.
56 To compile this driver as a module, choose M here: the module
57 will be called snd-mixer-oss.
60 tristate "OSS PCM (digital audio) API"
61 depends on SND_OSSEMUL
64 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
65 here and read <file:Documentation/sound/designs/oss-emulation.rst>.
67 Many programs still use the OSS API, so say Y.
69 To compile this driver as a module, choose M here: the module
70 will be called snd-pcm-oss.
72 config SND_PCM_OSS_PLUGINS
73 bool "OSS PCM (digital audio) API - Include plugin system"
74 depends on SND_PCM_OSS
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.
82 bool "PCM timer interface" if EXPERT
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
89 For some embedded devices, we may disable it to reduce memory
90 footprint, about 20KB on x86_64 platform.
93 tristate "HR-timer backend support"
94 depends on HIGH_RES_TIMERS
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.
101 To compile this driver as a module, choose M here: the module
102 will be called snd-hrtimer.
104 config SND_DYNAMIC_MINORS
105 bool "Dynamic device file minor numbers"
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
112 If you are unsure about this, say N here.
115 int "Max number of sound cards"
118 depends on SND_DYNAMIC_MINORS
120 Specify the max number of sound cards that can be assigned
123 config SND_SUPPORT_OLD_API
124 bool "Support old ALSA API"
127 Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
131 bool "Sound Proc FS Support" if EXPERT
135 Say 'N' to disable Sound proc FS, which may reduce code size about
136 9KB on x86_64 platform.
139 config SND_VERBOSE_PROCFS
140 bool "Verbose procfs contents"
141 depends on SND_PROC_FS
144 Say Y here to include code for verbose procfs contents (provides
145 useful information to developers when a problem occurs). On the
146 other side, it makes the ALSA subsystem larger.
148 config SND_VERBOSE_PRINTK
149 bool "Verbose printk"
151 Say Y here to enable verbose log messages. These messages
152 will help to identify source file and position containing
155 You don't need this unless you're debugging ALSA.
160 Say Y here to enable ALSA debug code.
162 config SND_DEBUG_VERBOSE
163 bool "More verbose debug"
166 Say Y here to enable extra-verbose debugging messages.
168 Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
169 So, say Y only if you are ready to be annoyed.
171 config SND_PCM_XRUN_DEBUG
172 bool "Enable PCM ring buffer overrun/underrun debugging"
174 depends on SND_DEBUG && SND_VERBOSE_PROCFS
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.
181 config SND_CTL_VALIDATION
182 bool "Perform sanity-checks for each control element access"
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.
190 config SND_JACK_INJECTION_DEBUG
191 bool "Sound jack injection interface via debugfs"
192 depends on SND_JACK && SND_DEBUG && DEBUG_FS
194 This option can be used to enable or disable sound jack
196 Say Y if you are debugging via jack injection interface.
197 If unsure select "N".
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
212 source "sound/core/seq/Kconfig"