Kconfig 6.8 KB

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