xref: /openbmc/linux/sound/core/Kconfig (revision 7bb2491b)
11da177e4SLinus Torvalds# ALSA soundcard-configuration
21da177e4SLinus Torvaldsconfig SND_TIMER
31da177e4SLinus Torvalds	tristate
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsconfig SND_PCM
61da177e4SLinus Torvalds	tristate
71da177e4SLinus Torvalds	select SND_TIMER
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsconfig SND_HWDEP
101da177e4SLinus Torvalds	tristate
111da177e4SLinus Torvalds
121da177e4SLinus Torvaldsconfig SND_RAWMIDI
131da177e4SLinus Torvalds	tristate
141da177e4SLinus Torvalds
155c845bebSTakashi Iwaiconfig SND_COMPRESS_OFFLOAD
165c845bebSTakashi Iwai	tristate
175c845bebSTakashi Iwai
180d94e41aSMark Brown# To be effective this also requires INPUT - users should say:
190d94e41aSMark Brown#    select SND_JACK if INPUT=y || INPUT=SND
200d94e41aSMark Brown# to avoid having to force INPUT on.
210d94e41aSMark Brownconfig SND_JACK
220d94e41aSMark Brown	bool
230d94e41aSMark Brown
241da177e4SLinus Torvaldsconfig SND_SEQUENCER
251da177e4SLinus Torvalds	tristate "Sequencer support"
261da177e4SLinus Torvalds	select SND_TIMER
271da177e4SLinus Torvalds	help
281da177e4SLinus Torvalds	  Say Y or M to enable MIDI sequencer and router support.  This
291da177e4SLinus Torvalds	  feature allows routing and enqueueing of MIDI events.  Events
301da177e4SLinus Torvalds	  can be processed at a given time.
311da177e4SLinus Torvalds
321da177e4SLinus Torvalds	  Many programs require this feature, so you should enable it
331da177e4SLinus Torvalds	  unless you know what you're doing.
341da177e4SLinus Torvalds
351da177e4SLinus Torvaldsconfig SND_SEQ_DUMMY
361da177e4SLinus Torvalds	tristate "Sequencer dummy client"
371da177e4SLinus Torvalds	depends on SND_SEQUENCER
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  Say Y here to enable the dummy sequencer client.  This client
401da177e4SLinus Torvalds	  is a simple MIDI-through client: all normal input events are
411da177e4SLinus Torvalds	  redirected to the output port immediately.
421da177e4SLinus Torvalds
431da177e4SLinus Torvalds	  You don't need this unless you want to connect many MIDI
441da177e4SLinus Torvalds	  devices or applications together.
451da177e4SLinus Torvalds
461da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
471da177e4SLinus Torvalds	  will be called snd-seq-dummy.
481da177e4SLinus Torvalds
491da177e4SLinus Torvaldsconfig SND_OSSEMUL
50d886e87cSTejun Heo	select SOUND_OSS_CORE
511da177e4SLinus Torvalds	bool
521da177e4SLinus Torvalds
531da177e4SLinus Torvaldsconfig SND_MIXER_OSS
541da177e4SLinus Torvalds	tristate "OSS Mixer API"
551da177e4SLinus Torvalds	select SND_OSSEMUL
561da177e4SLinus Torvalds	help
571da177e4SLinus Torvalds	  To enable OSS mixer API emulation (/dev/mixer*), say Y here
581da177e4SLinus Torvalds	  and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
591da177e4SLinus Torvalds
601da177e4SLinus Torvalds	  Many programs still use the OSS API, so say Y.
611da177e4SLinus Torvalds
621da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
631da177e4SLinus Torvalds	  will be called snd-mixer-oss.
641da177e4SLinus Torvalds
651da177e4SLinus Torvaldsconfig SND_PCM_OSS
661da177e4SLinus Torvalds	tristate "OSS PCM (digital audio) API"
671da177e4SLinus Torvalds	select SND_OSSEMUL
681da177e4SLinus Torvalds	select SND_PCM
691da177e4SLinus Torvalds	help
701da177e4SLinus Torvalds	  To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
711da177e4SLinus Torvalds	  here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
721da177e4SLinus Torvalds
731da177e4SLinus Torvalds	  Many programs still use the OSS API, so say Y.
741da177e4SLinus Torvalds
751da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
761da177e4SLinus Torvalds	  will be called snd-pcm-oss.
771da177e4SLinus Torvalds
7821a3479aSJaroslav Kyselaconfig SND_PCM_OSS_PLUGINS
7921a3479aSJaroslav Kysela	bool "OSS PCM (digital audio) API - Include plugin system"
8021a3479aSJaroslav Kysela	depends on SND_PCM_OSS
8121a3479aSJaroslav Kysela        default y
8221a3479aSJaroslav Kysela	help
8321a3479aSJaroslav Kysela          If you disable this option, the ALSA's OSS PCM API will not
8421a3479aSJaroslav Kysela          support conversion of channels, formats and rates. It will
8521a3479aSJaroslav Kysela          behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
8621a3479aSJaroslav Kysela
871da177e4SLinus Torvaldsconfig SND_SEQUENCER_OSS
881da177e4SLinus Torvalds	bool "OSS Sequencer API"
8989fe5117STakashi Iwai	depends on SND_SEQUENCER
901da177e4SLinus Torvalds	select SND_OSSEMUL
911da177e4SLinus Torvalds	help
921da177e4SLinus Torvalds	  Say Y here to enable OSS sequencer emulation (both
931da177e4SLinus Torvalds	  /dev/sequencer and /dev/music interfaces).
941da177e4SLinus Torvalds
951da177e4SLinus Torvalds	  Many programs still use the OSS API, so say Y.
961da177e4SLinus Torvalds
97c2f60c52SFrederik Deweerdt	  If you choose M in "Sequencer support" (SND_SEQUENCER),
98c2f60c52SFrederik Deweerdt	  this will be compiled as a module. The module will be called
99c2f60c52SFrederik Deweerdt	  snd-seq-oss.
1001da177e4SLinus Torvalds
101bbaf5e97STakashi Iwaiconfig SND_HRTIMER
102bbaf5e97STakashi Iwai	tristate "HR-timer backend support"
103bbaf5e97STakashi Iwai	depends on HIGH_RES_TIMERS
104bbaf5e97STakashi Iwai	select SND_TIMER
105bbaf5e97STakashi Iwai	help
106bbaf5e97STakashi Iwai	  Say Y here to enable HR-timer backend for ALSA timer.  ALSA uses
107bbaf5e97STakashi Iwai	  the hrtimer as a precise timing source. The ALSA sequencer code
108bbaf5e97STakashi Iwai	  also can use this timing source.
109bbaf5e97STakashi Iwai
110bbaf5e97STakashi Iwai	  To compile this driver as a module, choose M here: the module
111bbaf5e97STakashi Iwai	  will be called snd-hrtimer.
112bbaf5e97STakashi Iwai
113bbaf5e97STakashi Iwaiconfig SND_SEQ_HRTIMER_DEFAULT
114bbaf5e97STakashi Iwai	bool "Use HR-timer as default sequencer timer"
115bbaf5e97STakashi Iwai	depends on SND_HRTIMER && SND_SEQUENCER
116bbaf5e97STakashi Iwai	default y
117bbaf5e97STakashi Iwai	help
118bbaf5e97STakashi Iwai	  Say Y here to use the HR-timer backend as the default sequencer
119bbaf5e97STakashi Iwai	  timer.
120bbaf5e97STakashi Iwai
1211da177e4SLinus Torvaldsconfig SND_RTCTIMER
1221da177e4SLinus Torvalds	tristate "RTC Timer support"
12389fe5117STakashi Iwai	depends on RTC
1241da177e4SLinus Torvalds	select SND_TIMER
1251da177e4SLinus Torvalds	help
1261da177e4SLinus Torvalds	  Say Y here to enable RTC timer support for ALSA.  ALSA uses
1271da177e4SLinus Torvalds	  the RTC timer as a precise timing source and maps the RTC
1281da177e4SLinus Torvalds	  timer to ALSA's timer interface.  The ALSA sequencer code also
1291da177e4SLinus Torvalds	  can use this timing source.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1321da177e4SLinus Torvalds	  will be called snd-rtctimer.
1331da177e4SLinus Torvalds
13452948b3fSTakashi Iwai	  Note that this option is exclusive with the new RTC drivers
13552948b3fSTakashi Iwai	  (CONFIG_RTC_CLASS) since this requires the old API.
13652948b3fSTakashi Iwai
137a4f508b2SClemens Ladischconfig SND_SEQ_RTCTIMER_DEFAULT
138a4f508b2SClemens Ladisch	bool "Use RTC as default sequencer timer"
139a4f508b2SClemens Ladisch	depends on SND_RTCTIMER && SND_SEQUENCER
140e78a37bcSTakashi Iwai	depends on !SND_SEQ_HRTIMER_DEFAULT
141a4f508b2SClemens Ladisch	default y
142a4f508b2SClemens Ladisch	help
143a4f508b2SClemens Ladisch	  Say Y here to use the RTC timer as the default sequencer
144a4f508b2SClemens Ladisch	  timer.  This is strongly recommended because it ensures
145a4f508b2SClemens Ladisch	  precise MIDI timing even when the system timer runs at less
146a4f508b2SClemens Ladisch	  than 1000 Hz.
147a4f508b2SClemens Ladisch
148a4f508b2SClemens Ladisch	  If in doubt, say Y.
149a4f508b2SClemens Ladisch
150332682b1SClemens Ladischconfig SND_DYNAMIC_MINORS
151b10e5391SClemens Ladisch	bool "Dynamic device file minor numbers"
152332682b1SClemens Ladisch	help
153332682b1SClemens Ladisch	  If you say Y here, the minor numbers of ALSA device files in
154332682b1SClemens Ladisch	  /dev/snd/ are allocated dynamically.  This allows you to have
155332682b1SClemens Ladisch	  more than 8 sound cards, but requires a dynamic device file
156332682b1SClemens Ladisch	  system like udev.
157332682b1SClemens Ladisch
158332682b1SClemens Ladisch	  If you are unsure about this, say N here.
159332682b1SClemens Ladisch
1607bb2491bSTakashi Iwaiconfig SND_MAX_CARDS
1617bb2491bSTakashi Iwai	int "Max number of sound cards"
1627bb2491bSTakashi Iwai	range 4 256
1637bb2491bSTakashi Iwai	default 32
1647bb2491bSTakashi Iwai	depends on SND_DYNAMIC_MINORS
1657bb2491bSTakashi Iwai	help
1667bb2491bSTakashi Iwai	  Specify the max number of sound cards that can be assigned
1677bb2491bSTakashi Iwai	  on a single machine.
1687bb2491bSTakashi Iwai
16959d48582STakashi Iwaiconfig SND_SUPPORT_OLD_API
17059d48582STakashi Iwai	bool "Support old ALSA API"
17159d48582STakashi Iwai	default y
17259d48582STakashi Iwai	help
17359d48582STakashi Iwai	  Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
17459d48582STakashi Iwai	  or older).
17559d48582STakashi Iwai
17621a3479aSJaroslav Kyselaconfig SND_VERBOSE_PROCFS
17721a3479aSJaroslav Kysela	bool "Verbose procfs contents"
17889fe5117STakashi Iwai	depends on PROC_FS
17921a3479aSJaroslav Kysela	default y
18021a3479aSJaroslav Kysela	help
18121a3479aSJaroslav Kysela	  Say Y here to include code for verbose procfs contents (provides
182a982ac06SMatt LaPlante          useful information to developers when a problem occurs).  On the
18321a3479aSJaroslav Kysela          other side, it makes the ALSA subsystem larger.
18421a3479aSJaroslav Kysela
1851da177e4SLinus Torvaldsconfig SND_VERBOSE_PRINTK
1861da177e4SLinus Torvalds	bool "Verbose printk"
1871da177e4SLinus Torvalds	help
1881da177e4SLinus Torvalds	  Say Y here to enable verbose log messages.  These messages
1891da177e4SLinus Torvalds	  will help to identify source file and position containing
1901da177e4SLinus Torvalds	  printed messages.
1911da177e4SLinus Torvalds
1921da177e4SLinus Torvalds	  You don't need this unless you're debugging ALSA.
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig SND_DEBUG
1951da177e4SLinus Torvalds	bool "Debug"
1961da177e4SLinus Torvalds	help
1971da177e4SLinus Torvalds	  Say Y here to enable ALSA debug code.
1981da177e4SLinus Torvalds
19962cf872aSTakashi Iwaiconfig SND_DEBUG_VERBOSE
20062cf872aSTakashi Iwai	bool "More verbose debug"
2011da177e4SLinus Torvalds	depends on SND_DEBUG
2021da177e4SLinus Torvalds	help
20362cf872aSTakashi Iwai	  Say Y here to enable extra-verbose debugging messages.
20462cf872aSTakashi Iwai
20562cf872aSTakashi Iwai	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
20662cf872aSTakashi Iwai	  So, say Y only if you are ready to be annoyed.
20761fb63c0SJaroslav Kysela
20861fb63c0SJaroslav Kyselaconfig SND_PCM_XRUN_DEBUG
20961fb63c0SJaroslav Kysela	bool "Enable PCM ring buffer overrun/underrun debugging"
21061fb63c0SJaroslav Kysela	default n
211b7d90a35STakashi Iwai	depends on SND_DEBUG && SND_VERBOSE_PROCFS
21261fb63c0SJaroslav Kysela	help
21361fb63c0SJaroslav Kysela	  Say Y to enable the PCM ring buffer overrun/underrun debugging.
21461fb63c0SJaroslav Kysela	  It is usually not required, but if you have trouble with
21561fb63c0SJaroslav Kysela	  sound clicking when system is loaded, it may help to determine
21661fb63c0SJaroslav Kysela	  the process or driver which causes the scheduling gaps.
217e922b002STakashi Iwai
218e922b002STakashi Iwaiconfig SND_VMASTER
219e922b002STakashi Iwai	bool
2200528c749SMichal Marek
22135be544aSTakashi Iwaiconfig SND_KCTL_JACK
22235be544aSTakashi Iwai	bool
22335be544aSTakashi Iwai
224cc6a8acdSTakashi Iwaiconfig SND_DMA_SGBUF
225cc6a8acdSTakashi Iwai	def_bool y
226cc6a8acdSTakashi Iwai	depends on X86
227cc6a8acdSTakashi Iwai
2280528c749SMichal Mareksource "sound/core/seq/Kconfig"
229