Kconfig 5.9 KB

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