Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # ALSA soundcard-configuration |
| 3 | config SND_TIMER |
| 4 | tristate |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | |
| 6 | config SND_PCM |
| 7 | tristate |
Jie Yang | 90bbaf6 | 2015-10-16 17:57:46 +0800 | [diff] [blame] | 8 | select SND_TIMER if SND_PCM_TIMER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Russell King | 838d163 | 2015-05-09 11:26:42 +0100 | [diff] [blame] | 10 | config SND_PCM_ELD |
| 11 | bool |
| 12 | |
Russell King | 9203dd0 | 2015-05-09 11:26:47 +0100 | [diff] [blame] | 13 | config SND_PCM_IEC958 |
| 14 | bool |
| 15 | |
Daniel Mack | b7ae6f3 | 2013-08-12 10:42:37 +0200 | [diff] [blame] | 16 | config SND_DMAENGINE_PCM |
Daniel Mack | 903eb31 | 2013-08-15 16:03:52 +0200 | [diff] [blame] | 17 | tristate |
Daniel Mack | b7ae6f3 | 2013-08-12 10:42:37 +0200 | [diff] [blame] | 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | config SND_HWDEP |
| 20 | tristate |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
Takashi Iwai | 111b0cd | 2017-06-09 15:11:58 +0200 | [diff] [blame] | 22 | config SND_SEQ_DEVICE |
| 23 | tristate |
| 24 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | config SND_RAWMIDI |
| 26 | tristate |
Takashi Iwai | 111b0cd | 2017-06-09 15:11:58 +0200 | [diff] [blame] | 27 | select SND_SEQ_DEVICE if SND_SEQUENCER != n |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | |
Takashi Iwai | 5c845be | 2012-01-13 09:53:53 +0100 | [diff] [blame] | 29 | config SND_COMPRESS_OFFLOAD |
| 30 | tristate |
| 31 | |
Mark Brown | 0d94e41 | 2008-07-28 19:05:36 +0100 | [diff] [blame] | 32 | config SND_JACK |
| 33 | bool |
| 34 | |
Takashi Iwai | fe0d128 | 2016-02-17 09:44:25 +0100 | [diff] [blame] | 35 | # enable input device support in jack layer |
| 36 | config SND_JACK_INPUT_DEV |
| 37 | bool |
| 38 | depends on SND_JACK |
| 39 | default y if INPUT=y || INPUT=SND |
| 40 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | config SND_OSSEMUL |
Takashi Iwai | eb3b705 | 2017-06-09 13:56:05 +0200 | [diff] [blame] | 42 | bool "Enable OSS Emulation" |
Tejun Heo | d886e87 | 2008-08-28 16:42:51 +0200 | [diff] [blame] | 43 | select SOUND_OSS_CORE |
Takashi Iwai | eb3b705 | 2017-06-09 13:56:05 +0200 | [diff] [blame] | 44 | help |
| 45 | This option enables the build of OSS emulation layer. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | |
| 47 | config SND_MIXER_OSS |
| 48 | tristate "OSS Mixer API" |
Takashi Iwai | eb3b705 | 2017-06-09 13:56:05 +0200 | [diff] [blame] | 49 | depends on SND_OSSEMUL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 50 | help |
| 51 | To enable OSS mixer API emulation (/dev/mixer*), say Y here |
Mauro Carvalho Chehab | 5fb94e9 | 2018-05-08 15:14:57 -0300 | [diff] [blame] | 52 | and read <file:Documentation/sound/designs/oss-emulation.rst>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 59 | config SND_PCM_OSS |
| 60 | tristate "OSS PCM (digital audio) API" |
Takashi Iwai | eb3b705 | 2017-06-09 13:56:05 +0200 | [diff] [blame] | 61 | depends on SND_OSSEMUL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 62 | select SND_PCM |
| 63 | help |
| 64 | To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y |
Mauro Carvalho Chehab | 5fb94e9 | 2018-05-08 15:14:57 -0300 | [diff] [blame] | 65 | here and read <file:Documentation/sound/designs/oss-emulation.rst>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Jaroslav Kysela | 21a3479 | 2006-01-13 09:12:11 +0100 | [diff] [blame] | 72 | config SND_PCM_OSS_PLUGINS |
| 73 | bool "OSS PCM (digital audio) API - Include plugin system" |
| 74 | depends on SND_PCM_OSS |
Krzysztof Kozlowski | 82e8d72 | 2019-10-04 16:49:31 +0200 | [diff] [blame] | 75 | default y |
Jaroslav Kysela | 21a3479 | 2006-01-13 09:12:11 +0100 | [diff] [blame] | 76 | help |
Krzysztof Kozlowski | 82e8d72 | 2019-10-04 16:49:31 +0200 | [diff] [blame] | 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. |
Jaroslav Kysela | 21a3479 | 2006-01-13 09:12:11 +0100 | [diff] [blame] | 80 | |
Jie Yang | 90bbaf6 | 2015-10-16 17:57:46 +0800 | [diff] [blame] | 81 | config SND_PCM_TIMER |
| 82 | bool "PCM timer interface" if EXPERT |
| 83 | default y |
| 84 | help |
Randy Dunlap | ac1efcf | 2016-01-27 18:04:10 -0800 | [diff] [blame] | 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 |
Jie Yang | 90bbaf6 | 2015-10-16 17:57:46 +0800 | [diff] [blame] | 87 | incorrectlly. |
| 88 | |
Randy Dunlap | ac1efcf | 2016-01-27 18:04:10 -0800 | [diff] [blame] | 89 | For some embedded devices, we may disable it to reduce memory |
Jie Yang | 90bbaf6 | 2015-10-16 17:57:46 +0800 | [diff] [blame] | 90 | footprint, about 20KB on x86_64 platform. |
| 91 | |
Takashi Iwai | bbaf5e9 | 2008-10-24 18:16:50 +0200 | [diff] [blame] | 92 | config 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 Ladisch | 332682b | 2005-11-20 14:07:47 +0100 | [diff] [blame] | 104 | config SND_DYNAMIC_MINORS |
Clemens Ladisch | b10e539 | 2006-06-27 08:41:26 +0200 | [diff] [blame] | 105 | bool "Dynamic device file minor numbers" |
Clemens Ladisch | 332682b | 2005-11-20 14:07:47 +0100 | [diff] [blame] | 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 | |
Takashi Iwai | 7bb2491 | 2013-05-15 08:46:39 +0200 | [diff] [blame] | 114 | config 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 Iwai | 59d4858 | 2005-12-01 10:51:58 +0100 | [diff] [blame] | 123 | config SND_SUPPORT_OLD_API |
| 124 | bool "Support old ALSA API" |
Takashi Iwai | 59d4858 | 2005-12-01 10:51:58 +0100 | [diff] [blame] | 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 | |
Jie Yang | e0ecb05 | 2015-05-27 19:45:44 +0800 | [diff] [blame] | 130 | config SND_PROC_FS |
Krzysztof Kozlowski | 82e8d72 | 2019-10-04 16:49:31 +0200 | [diff] [blame] | 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. |
Jie Yang | e0ecb05 | 2015-05-27 19:45:44 +0800 | [diff] [blame] | 138 | |
Jaroslav Kysela | 21a3479 | 2006-01-13 09:12:11 +0100 | [diff] [blame] | 139 | config SND_VERBOSE_PROCFS |
| 140 | bool "Verbose procfs contents" |
Jie Yang | e0ecb05 | 2015-05-27 19:45:44 +0800 | [diff] [blame] | 141 | depends on SND_PROC_FS |
Jaroslav Kysela | 21a3479 | 2006-01-13 09:12:11 +0100 | [diff] [blame] | 142 | default y |
| 143 | help |
| 144 | Say Y here to include code for verbose procfs contents (provides |
Krzysztof Kozlowski | 82e8d72 | 2019-10-04 16:49:31 +0200 | [diff] [blame] | 145 | useful information to developers when a problem occurs). On the |
| 146 | other side, it makes the ALSA subsystem larger. |
Jaroslav Kysela | 21a3479 | 2006-01-13 09:12:11 +0100 | [diff] [blame] | 147 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 148 | config SND_VERBOSE_PRINTK |
| 149 | bool "Verbose printk" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 157 | config SND_DEBUG |
| 158 | bool "Debug" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 159 | help |
| 160 | Say Y here to enable ALSA debug code. |
| 161 | |
Takashi Iwai | 62cf872 | 2008-05-20 12:15:15 +0200 | [diff] [blame] | 162 | config SND_DEBUG_VERBOSE |
| 163 | bool "More verbose debug" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 164 | depends on SND_DEBUG |
| 165 | help |
Takashi Iwai | 62cf872 | 2008-05-20 12:15:15 +0200 | [diff] [blame] | 166 | Say Y here to enable extra-verbose debugging messages. |
Krzysztof Kozlowski | 82e8d72 | 2019-10-04 16:49:31 +0200 | [diff] [blame] | 167 | |
Takashi Iwai | 62cf872 | 2008-05-20 12:15:15 +0200 | [diff] [blame] | 168 | Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages. |
| 169 | So, say Y only if you are ready to be annoyed. |
Jaroslav Kysela | 61fb63c | 2006-04-24 21:57:16 +0200 | [diff] [blame] | 170 | |
| 171 | config SND_PCM_XRUN_DEBUG |
| 172 | bool "Enable PCM ring buffer overrun/underrun debugging" |
| 173 | default n |
Takashi Iwai | b7d90a3 | 2006-04-25 12:56:04 +0200 | [diff] [blame] | 174 | depends on SND_DEBUG && SND_VERBOSE_PROCFS |
Jaroslav Kysela | 61fb63c | 2006-04-24 21:57:16 +0200 | [diff] [blame] | 175 | 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 Iwai | e922b00 | 2008-02-18 13:03:13 +0100 | [diff] [blame] | 180 | |
Takashi Iwai | fbd3eb7 | 2020-01-04 09:35:56 +0100 | [diff] [blame] | 181 | config 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 Wang | 2d670ea | 2021-01-27 16:56:39 +0800 | [diff] [blame] | 190 | config 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 Iwai | e922b00 | 2008-02-18 13:03:13 +0100 | [diff] [blame] | 199 | config SND_VMASTER |
| 200 | bool |
Michal Marek | 0528c74 | 2009-05-26 17:07:52 +0200 | [diff] [blame] | 201 | |
Takashi Iwai | cc6a8ac | 2008-06-17 16:39:06 +0200 | [diff] [blame] | 202 | config SND_DMA_SGBUF |
| 203 | def_bool y |
| 204 | depends on X86 |
| 205 | |
Jaroslav Kysela | 22d8de6 | 2021-03-17 18:29:42 +0100 | [diff] [blame] | 206 | config 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 Marek | 0528c74 | 2009-05-26 17:07:52 +0200 | [diff] [blame] | 212 | source "sound/core/seq/Kconfig" |