~ [ 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-4.4.302)


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