Kconfig 4.8 KB

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