~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/core/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/core/Kconfig (Version linux-6.12-rc7) and /sound/core/Kconfig (Version linux-6.5.13)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 # ALSA soundcard-configuration                      2 # ALSA soundcard-configuration
  3 config SND_TIMER                                    3 config SND_TIMER
  4         tristate                                    4         tristate
  5                                                     5 
  6 config SND_PCM                                      6 config SND_PCM
  7         tristate                                    7         tristate
  8         select SND_TIMER if SND_PCM_TIMER           8         select SND_TIMER if SND_PCM_TIMER
  9                                                     9 
 10 config SND_PCM_ELD                                 10 config SND_PCM_ELD
 11         bool                                       11         bool
 12                                                    12 
 13 config SND_PCM_IEC958                              13 config SND_PCM_IEC958
 14         bool                                       14         bool
 15                                                    15 
 16 config SND_DMAENGINE_PCM                           16 config SND_DMAENGINE_PCM
 17         tristate                                   17         tristate
 18                                                    18 
 19 config SND_HWDEP                                   19 config SND_HWDEP
 20         tristate                                   20         tristate
 21                                                    21 
 22 config SND_SEQ_DEVICE                              22 config SND_SEQ_DEVICE
 23         tristate                                   23         tristate
 24                                                    24 
 25 config SND_RAWMIDI                                 25 config SND_RAWMIDI
 26         tristate                                   26         tristate
 27         select SND_SEQ_DEVICE if SND_SEQUENCER     27         select SND_SEQ_DEVICE if SND_SEQUENCER != n
 28                                                    28 
 29 config SND_UMP                                     29 config SND_UMP
 30         tristate                                   30         tristate
 31         select SND_RAWMIDI                         31         select SND_RAWMIDI
 32                                                    32 
 33 config SND_UMP_LEGACY_RAWMIDI                      33 config SND_UMP_LEGACY_RAWMIDI
 34         bool "Legacy raw MIDI support for UMP      34         bool "Legacy raw MIDI support for UMP streams"
 35         depends on SND_UMP                         35         depends on SND_UMP
 36         help                                       36         help
 37           This option enables the legacy raw M     37           This option enables the legacy raw MIDI support for UMP streams.
 38           When this option is set, an addition     38           When this option is set, an additional rawmidi device for the
 39           legacy MIDI 1.0 byte streams is crea     39           legacy MIDI 1.0 byte streams is created for each UMP Endpoint.
 40           The device contains 16 substreams co     40           The device contains 16 substreams corresponding to UMP groups.
 41                                                    41 
 42 config SND_CORE_TEST                           << 
 43         tristate "Sound core KUnit test"       << 
 44         depends on KUNIT                       << 
 45         select SND_PCM                         << 
 46         default KUNIT_ALL_TESTS                << 
 47         help                                   << 
 48           This options enables the sound core  << 
 49                                                << 
 50           KUnit tests run during boot and outp << 
 51           log in TAP format (https://testanyth << 
 52           kernel devs running KUnit test harne << 
 53           into a production build.             << 
 54                                                << 
 55           For more information on KUnit and un << 
 56           to the KUnit documentation in Docume << 
 57                                                << 
 58                                                << 
 59 config SND_COMPRESS_OFFLOAD                        42 config SND_COMPRESS_OFFLOAD
 60         tristate                                   43         tristate
 61                                                    44 
 62 config SND_JACK                                    45 config SND_JACK
 63         bool                                       46         bool
 64                                                    47 
 65 # enable input device support in jack layer        48 # enable input device support in jack layer
 66 config SND_JACK_INPUT_DEV                          49 config SND_JACK_INPUT_DEV
 67         bool                                       50         bool
 68         depends on SND_JACK                        51         depends on SND_JACK
 69         default y if INPUT=y || INPUT=SND          52         default y if INPUT=y || INPUT=SND
 70                                                    53 
 71 config SND_OSSEMUL                                 54 config SND_OSSEMUL
 72         bool "Enable OSS Emulation"                55         bool "Enable OSS Emulation"
 73         select SOUND_OSS_CORE                      56         select SOUND_OSS_CORE
 74         help                                       57         help
 75           This option enables the build of OSS     58           This option enables the build of OSS emulation layer.
 76                                                    59 
 77 config SND_MIXER_OSS                               60 config SND_MIXER_OSS
 78         tristate "OSS Mixer API"                   61         tristate "OSS Mixer API"
 79         depends on SND_OSSEMUL                     62         depends on SND_OSSEMUL
 80         help                                       63         help
 81           To enable OSS mixer API emulation (/     64           To enable OSS mixer API emulation (/dev/mixer*), say Y here
 82           and read <file:Documentation/sound/d     65           and read <file:Documentation/sound/designs/oss-emulation.rst>.
 83                                                    66 
 84           Many programs still use the OSS API,     67           Many programs still use the OSS API, so say Y.
 85                                                    68 
 86           To compile this driver as a module,      69           To compile this driver as a module, choose M here: the module
 87           will be called snd-mixer-oss.            70           will be called snd-mixer-oss.
 88                                                    71 
 89 config SND_PCM_OSS                                 72 config SND_PCM_OSS
 90         tristate "OSS PCM (digital audio) API"     73         tristate "OSS PCM (digital audio) API"
 91         depends on SND_OSSEMUL                     74         depends on SND_OSSEMUL
 92         select SND_PCM                             75         select SND_PCM
 93         help                                       76         help
 94           To enable OSS digital audio (PCM) em     77           To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
 95           here and read <file:Documentation/so     78           here and read <file:Documentation/sound/designs/oss-emulation.rst>.
 96                                                    79 
 97           Many programs still use the OSS API,     80           Many programs still use the OSS API, so say Y.
 98                                                    81 
 99           To compile this driver as a module,      82           To compile this driver as a module, choose M here: the module
100           will be called snd-pcm-oss.              83           will be called snd-pcm-oss.
101                                                    84 
102 config SND_PCM_OSS_PLUGINS                         85 config SND_PCM_OSS_PLUGINS
103         bool "OSS PCM (digital audio) API - In     86         bool "OSS PCM (digital audio) API - Include plugin system"
104         depends on SND_PCM_OSS                     87         depends on SND_PCM_OSS
105         default y                                  88         default y
106         help                                       89         help
107           If you disable this option, the ALSA     90           If you disable this option, the ALSA's OSS PCM API will not
108           support conversion of channels, form     91           support conversion of channels, formats and rates. It will
109           behave like most of new OSS/Free dri     92           behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
110                                                    93 
111 config SND_PCM_TIMER                               94 config SND_PCM_TIMER
112         bool "PCM timer interface" if EXPERT       95         bool "PCM timer interface" if EXPERT
113         default y                                  96         default y
114         help                                       97         help
115           If you disable this option, pcm time     98           If you disable this option, pcm timer will be unavailable, so
116           those stubs that use pcm timer (e.g.     99           those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
117           incorrectly.                            100           incorrectly.
118                                                   101 
119           For some embedded devices, we may di    102           For some embedded devices, we may disable it to reduce memory
120           footprint, about 20KB on x86_64 plat    103           footprint, about 20KB on x86_64 platform.
121                                                   104 
122 config SND_HRTIMER                                105 config SND_HRTIMER
123         tristate "HR-timer backend support"       106         tristate "HR-timer backend support"
124         depends on HIGH_RES_TIMERS                107         depends on HIGH_RES_TIMERS
125         select SND_TIMER                          108         select SND_TIMER
126         help                                      109         help
127           Say Y here to enable HR-timer backen    110           Say Y here to enable HR-timer backend for ALSA timer.  ALSA uses
128           the hrtimer as a precise timing sour    111           the hrtimer as a precise timing source. The ALSA sequencer code
129           also can use this timing source.        112           also can use this timing source.
130                                                   113 
131           To compile this driver as a module,     114           To compile this driver as a module, choose M here: the module
132           will be called snd-hrtimer.             115           will be called snd-hrtimer.
133                                                   116 
134 config SND_DYNAMIC_MINORS                         117 config SND_DYNAMIC_MINORS
135         bool "Dynamic device file minor number    118         bool "Dynamic device file minor numbers"
136         help                                      119         help
137           If you say Y here, the minor numbers    120           If you say Y here, the minor numbers of ALSA device files in
138           /dev/snd/ are allocated dynamically.    121           /dev/snd/ are allocated dynamically.  This allows you to have
139           more than 8 sound cards, but require    122           more than 8 sound cards, but requires a dynamic device file
140           system like udev.                       123           system like udev.
141                                                   124 
142           If you are unsure about this, say N     125           If you are unsure about this, say N here.
143                                                   126 
144 config SND_MAX_CARDS                              127 config SND_MAX_CARDS
145         int "Max number of sound cards"           128         int "Max number of sound cards"
146         range 4 256                               129         range 4 256
147         default 32                                130         default 32
148         depends on SND_DYNAMIC_MINORS             131         depends on SND_DYNAMIC_MINORS
149         help                                      132         help
150           Specify the max number of sound card    133           Specify the max number of sound cards that can be assigned
151           on a single machine.                    134           on a single machine.
152                                                   135 
153 config SND_SUPPORT_OLD_API                        136 config SND_SUPPORT_OLD_API
154         bool "Support old ALSA API"               137         bool "Support old ALSA API"
155         default y                                 138         default y
156         help                                      139         help
157           Say Y here to support the obsolete A    140           Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
158           or older).                              141           or older).
159                                                   142 
160 config SND_PROC_FS                                143 config SND_PROC_FS
161         bool "Sound Proc FS Support" if EXPERT    144         bool "Sound Proc FS Support" if EXPERT
162         depends on PROC_FS                        145         depends on PROC_FS
163         default y                                 146         default y
164         help                                      147         help
165           Say 'N' to disable Sound proc FS, wh    148           Say 'N' to disable Sound proc FS, which may reduce code size about
166           9KB on x86_64 platform.                 149           9KB on x86_64 platform.
167           If unsure say Y.                        150           If unsure say Y.
168                                                   151 
169 config SND_VERBOSE_PROCFS                         152 config SND_VERBOSE_PROCFS
170         bool "Verbose procfs contents"            153         bool "Verbose procfs contents"
171         depends on SND_PROC_FS                    154         depends on SND_PROC_FS
172         default y                                 155         default y
173         help                                      156         help
174           Say Y here to include code for verbo    157           Say Y here to include code for verbose procfs contents (provides
175           useful information to developers whe    158           useful information to developers when a problem occurs).  On the
176           other side, it makes the ALSA subsys    159           other side, it makes the ALSA subsystem larger.
177                                                   160 
                                                   >> 161 config SND_VERBOSE_PRINTK
                                                   >> 162         bool "Verbose printk"
                                                   >> 163         help
                                                   >> 164           Say Y here to enable verbose log messages.  These messages
                                                   >> 165           will help to identify source file and position containing
                                                   >> 166           printed messages.
                                                   >> 167 
                                                   >> 168           You don't need this unless you're debugging ALSA.
                                                   >> 169 
178 config SND_CTL_FAST_LOOKUP                        170 config SND_CTL_FAST_LOOKUP
179         bool "Fast lookup of control elements"    171         bool "Fast lookup of control elements" if EXPERT
180         default y                                 172         default y
181         select XARRAY_MULTI                       173         select XARRAY_MULTI
182         help                                      174         help
183           This option enables the faster looku    175           This option enables the faster lookup of control elements.
184           It will consume more memory because     176           It will consume more memory because of the additional Xarray.
185           If you want to choose the memory foo    177           If you want to choose the memory footprint over the performance
186           inevitably, turn this off.              178           inevitably, turn this off.
187                                                   179 
188 config SND_DEBUG                                  180 config SND_DEBUG
189         bool "Debug"                              181         bool "Debug"
190         help                                      182         help
191           Say Y here to enable ALSA debug code    183           Say Y here to enable ALSA debug code.
192                                                   184 
193 config SND_DEBUG_VERBOSE                          185 config SND_DEBUG_VERBOSE
194         bool "More verbose debug"                 186         bool "More verbose debug"
195         depends on SND_DEBUG                      187         depends on SND_DEBUG
196         help                                      188         help
197           Say Y here to enable extra-verbose d    189           Say Y here to enable extra-verbose debugging messages.
198                                                   190 
199           Let me repeat: it enables EXTRA-VERB    191           Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
200           So, say Y only if you are ready to b    192           So, say Y only if you are ready to be annoyed.
201                                                   193 
202 config SND_PCM_XRUN_DEBUG                         194 config SND_PCM_XRUN_DEBUG
203         bool "Enable PCM ring buffer overrun/u    195         bool "Enable PCM ring buffer overrun/underrun debugging"
204         default n                                 196         default n
205         depends on SND_DEBUG && SND_VERBOSE_PR    197         depends on SND_DEBUG && SND_VERBOSE_PROCFS
206         help                                      198         help
207           Say Y to enable the PCM ring buffer     199           Say Y to enable the PCM ring buffer overrun/underrun debugging.
208           It is usually not required, but if y    200           It is usually not required, but if you have trouble with
209           sound clicking when system is loaded    201           sound clicking when system is loaded, it may help to determine
210           the process or driver which causes t    202           the process or driver which causes the scheduling gaps.
211                                                   203 
212 config SND_CTL_INPUT_VALIDATION                   204 config SND_CTL_INPUT_VALIDATION
213         bool "Validate input data to control A    205         bool "Validate input data to control API"
214         help                                      206         help
215           Say Y to enable the additional valid    207           Say Y to enable the additional validation for the input data to
216           each control element, including the     208           each control element, including the value range checks.
217           An error is returned from ALSA core     209           An error is returned from ALSA core for invalid inputs without
218           passing to the driver.  This is a ki    210           passing to the driver.  This is a kind of hardening for drivers
219           that have no proper error checks, at    211           that have no proper error checks, at the cost of a slight
220           performance overhead.                   212           performance overhead.
221                                                   213 
222 config SND_CTL_DEBUG                              214 config SND_CTL_DEBUG
223         bool "Enable debugging feature for con    215         bool "Enable debugging feature for control API"
224         depends on SND_DEBUG                      216         depends on SND_DEBUG
225         help                                      217         help
226           Say Y to enable the debugging featur    218           Say Y to enable the debugging feature for ALSA control API.
227           It performs the additional sanity-ch    219           It performs the additional sanity-checks for each control element
228           read access, such as whether the val    220           read access, such as whether the values returned from the driver
229           are in the proper ranges or the chec    221           are in the proper ranges or the check of the invalid access at
230           out-of-array areas.  The error is pr    222           out-of-array areas.  The error is printed when the driver gives
231           such unexpected values.                 223           such unexpected values.
232           When you develop a driver that deals    224           When you develop a driver that deals with control elements, it's
233           strongly recommended to try this one    225           strongly recommended to try this one once and verify whether you see
234           any relevant errors or not.             226           any relevant errors or not.
235                                                   227 
236 config SND_JACK_INJECTION_DEBUG                   228 config SND_JACK_INJECTION_DEBUG
237         bool "Sound jack injection interface v    229         bool "Sound jack injection interface via debugfs"
238         depends on SND_JACK && SND_DEBUG && DE    230         depends on SND_JACK && SND_DEBUG && DEBUG_FS
239         help                                      231         help
240           This option can be used to enable or    232           This option can be used to enable or disable sound jack
241           software injection.                     233           software injection.
242           Say Y if you are debugging via jack     234           Say Y if you are debugging via jack injection interface.
243           If unsure select "N".                   235           If unsure select "N".
244                                                   236 
245 config SND_UTIMER                              << 
246         bool "Enable support for userspace-con << 
247         depends on SND_TIMER                   << 
248         help                                   << 
249           Say Y to enable the support of users << 
250           timers are purely virtual, and they  << 
251           from userspace. They could be quite  << 
252           sound timing with userspace applicat << 
253           data through snd-aloop).             << 
254                                                << 
255 config SND_VMASTER                                237 config SND_VMASTER
256         bool                                      238         bool
257                                                   239 
258 config SND_DMA_SGBUF                              240 config SND_DMA_SGBUF
259         def_bool y                                241         def_bool y
260         depends on X86                            242         depends on X86
261                                                   243 
262 config SND_CTL_LED                                244 config SND_CTL_LED
263         tristate                                  245         tristate
264         select NEW_LEDS if SND_CTL_LED            246         select NEW_LEDS if SND_CTL_LED
265         select LEDS_TRIGGERS if SND_CTL_LED       247         select LEDS_TRIGGERS if SND_CTL_LED
                                                   >> 248         select LEDS_TRIGGER_AUDIO if SND_CTL_LED
266                                                   249 
267 source "sound/core/seq/Kconfig"                   250 source "sound/core/seq/Kconfig"
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php