Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. # ALSA soundcard-configuration
  3. config SND_TIMER
  4. tristate
  5. config SND_PCM
  6. tristate
  7. select SND_TIMER if SND_PCM_TIMER
  8. config SND_PCM_ELD
  9. bool
  10. config SND_PCM_IEC958
  11. bool
  12. config SND_DMAENGINE_PCM
  13. tristate
  14. config SND_HWDEP
  15. tristate
  16. config SND_SEQ_DEVICE
  17. tristate
  18. config SND_RAWMIDI
  19. tristate
  20. select SND_SEQ_DEVICE if SND_SEQUENCER != n
  21. config SND_COMPRESS_OFFLOAD
  22. tristate
  23. config SND_JACK
  24. bool
  25. # enable input device support in jack layer
  26. config SND_JACK_INPUT_DEV
  27. bool
  28. depends on SND_JACK
  29. default y if INPUT=y || INPUT=SND
  30. config SND_OSSEMUL
  31. bool "Enable OSS Emulation"
  32. select SOUND_OSS_CORE
  33. help
  34. This option enables the build of OSS emulation layer.
  35. config SND_MIXER_OSS
  36. tristate "OSS Mixer API"
  37. depends on SND_OSSEMUL
  38. help
  39. To enable OSS mixer API emulation (/dev/mixer*), say Y here
  40. and read <file:Documentation/sound/designs/oss-emulation.rst>.
  41. Many programs still use the OSS API, so say Y.
  42. To compile this driver as a module, choose M here: the module
  43. will be called snd-mixer-oss.
  44. config SND_PCM_OSS
  45. tristate "OSS PCM (digital audio) API"
  46. depends on SND_OSSEMUL
  47. select SND_PCM
  48. help
  49. To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
  50. here and read <file:Documentation/sound/designs/oss-emulation.rst>.
  51. Many programs still use the OSS API, so say Y.
  52. To compile this driver as a module, choose M here: the module
  53. will be called snd-pcm-oss.
  54. config SND_PCM_OSS_PLUGINS
  55. bool "OSS PCM (digital audio) API - Include plugin system"
  56. depends on SND_PCM_OSS
  57. default y
  58. help
  59. If you disable this option, the ALSA's OSS PCM API will not
  60. support conversion of channels, formats and rates. It will
  61. behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
  62. config SND_PCM_TIMER
  63. bool "PCM timer interface" if EXPERT
  64. default y
  65. help
  66. If you disable this option, pcm timer will be unavailable, so
  67. those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
  68. incorrectlly.
  69. For some embedded devices, we may disable it to reduce memory
  70. footprint, about 20KB on x86_64 platform.
  71. config SND_HRTIMER
  72. tristate "HR-timer backend support"
  73. depends on HIGH_RES_TIMERS
  74. select SND_TIMER
  75. help
  76. Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
  77. the hrtimer as a precise timing source. The ALSA sequencer code
  78. also can use this timing source.
  79. To compile this driver as a module, choose M here: the module
  80. will be called snd-hrtimer.
  81. config SND_DYNAMIC_MINORS
  82. bool "Dynamic device file minor numbers"
  83. help
  84. If you say Y here, the minor numbers of ALSA device files in
  85. /dev/snd/ are allocated dynamically. This allows you to have
  86. more than 8 sound cards, but requires a dynamic device file
  87. system like udev.
  88. If you are unsure about this, say N here.
  89. config SND_MAX_CARDS
  90. int "Max number of sound cards"
  91. range 4 256
  92. default 32
  93. depends on SND_DYNAMIC_MINORS
  94. help
  95. Specify the max number of sound cards that can be assigned
  96. on a single machine.
  97. config SND_SUPPORT_OLD_API
  98. bool "Support old ALSA API"
  99. default y
  100. help
  101. Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
  102. or older).
  103. config SND_PROC_FS
  104. bool "Sound Proc FS Support" if EXPERT
  105. depends on PROC_FS
  106. default y
  107. help
  108. Say 'N' to disable Sound proc FS, which may reduce code size about
  109. 9KB on x86_64 platform.
  110. If unsure say Y.
  111. config SND_VERBOSE_PROCFS
  112. bool "Verbose procfs contents"
  113. depends on SND_PROC_FS
  114. default y
  115. help
  116. Say Y here to include code for verbose procfs contents (provides
  117. useful information to developers when a problem occurs). On the
  118. other side, it makes the ALSA subsystem larger.
  119. config SND_VERBOSE_PRINTK
  120. bool "Verbose printk"
  121. help
  122. Say Y here to enable verbose log messages. These messages
  123. will help to identify source file and position containing
  124. printed messages.
  125. You don't need this unless you're debugging ALSA.
  126. config SND_DEBUG
  127. bool "Debug"
  128. help
  129. Say Y here to enable ALSA debug code.
  130. config SND_DEBUG_VERBOSE
  131. bool "More verbose debug"
  132. depends on SND_DEBUG
  133. help
  134. Say Y here to enable extra-verbose debugging messages.
  135. Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
  136. So, say Y only if you are ready to be annoyed.
  137. config SND_PCM_XRUN_DEBUG
  138. bool "Enable PCM ring buffer overrun/underrun debugging"
  139. default n
  140. depends on SND_DEBUG && SND_VERBOSE_PROCFS
  141. help
  142. Say Y to enable the PCM ring buffer overrun/underrun debugging.
  143. It is usually not required, but if you have trouble with
  144. sound clicking when system is loaded, it may help to determine
  145. the process or driver which causes the scheduling gaps.
  146. config SND_CTL_VALIDATION
  147. bool "Perform sanity-checks for each control element access"
  148. depends on SND_DEBUG
  149. help
  150. Say Y to enable the additional validation of each control element
  151. access, including sanity-checks like whether the values returned
  152. from the driver are in the proper ranges or the check of the invalid
  153. access at out-of-array areas.
  154. config SND_VMASTER
  155. bool
  156. config SND_DMA_SGBUF
  157. def_bool y
  158. depends on X86
  159. source "sound/core/seq/Kconfig"