xref: /linux/sound/core/Kconfig (revision 0d94e41abe271c86df06bcf72d24f9ca7ce771f0)
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
15*0d94e41aSMark Brown# To be effective this also requires INPUT - users should say:
16*0d94e41aSMark Brown#    select SND_JACK if INPUT=y || INPUT=SND
17*0d94e41aSMark Brown# to avoid having to force INPUT on.
18*0d94e41aSMark Brownconfig SND_JACK
19*0d94e41aSMark Brown	bool
20*0d94e41aSMark Brown
211da177e4SLinus Torvaldsconfig SND_SEQUENCER
221da177e4SLinus Torvalds	tristate "Sequencer support"
231da177e4SLinus Torvalds	select SND_TIMER
241da177e4SLinus Torvalds	help
251da177e4SLinus Torvalds	  Say Y or M to enable MIDI sequencer and router support.  This
261da177e4SLinus Torvalds	  feature allows routing and enqueueing of MIDI events.  Events
271da177e4SLinus Torvalds	  can be processed at a given time.
281da177e4SLinus Torvalds
291da177e4SLinus Torvalds	  Many programs require this feature, so you should enable it
301da177e4SLinus Torvalds	  unless you know what you're doing.
311da177e4SLinus Torvalds
321da177e4SLinus Torvaldsconfig SND_SEQ_DUMMY
331da177e4SLinus Torvalds	tristate "Sequencer dummy client"
341da177e4SLinus Torvalds	depends on SND_SEQUENCER
351da177e4SLinus Torvalds	help
361da177e4SLinus Torvalds	  Say Y here to enable the dummy sequencer client.  This client
371da177e4SLinus Torvalds	  is a simple MIDI-through client: all normal input events are
381da177e4SLinus Torvalds	  redirected to the output port immediately.
391da177e4SLinus Torvalds
401da177e4SLinus Torvalds	  You don't need this unless you want to connect many MIDI
411da177e4SLinus Torvalds	  devices or applications together.
421da177e4SLinus Torvalds
431da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
441da177e4SLinus Torvalds	  will be called snd-seq-dummy.
451da177e4SLinus Torvalds
461da177e4SLinus Torvaldsconfig SND_OSSEMUL
471da177e4SLinus Torvalds	bool
481da177e4SLinus Torvalds
491da177e4SLinus Torvaldsconfig SND_MIXER_OSS
501da177e4SLinus Torvalds	tristate "OSS Mixer API"
511da177e4SLinus Torvalds	select SND_OSSEMUL
521da177e4SLinus Torvalds	help
531da177e4SLinus Torvalds	  To enable OSS mixer API emulation (/dev/mixer*), say Y here
541da177e4SLinus Torvalds	  and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  Many programs still use the OSS API, so say Y.
571da177e4SLinus Torvalds
581da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
591da177e4SLinus Torvalds	  will be called snd-mixer-oss.
601da177e4SLinus Torvalds
611da177e4SLinus Torvaldsconfig SND_PCM_OSS
621da177e4SLinus Torvalds	tristate "OSS PCM (digital audio) API"
631da177e4SLinus Torvalds	select SND_OSSEMUL
641da177e4SLinus Torvalds	select SND_PCM
651da177e4SLinus Torvalds	help
661da177e4SLinus Torvalds	  To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
671da177e4SLinus Torvalds	  here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
681da177e4SLinus Torvalds
691da177e4SLinus Torvalds	  Many programs still use the OSS API, so say Y.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
721da177e4SLinus Torvalds	  will be called snd-pcm-oss.
731da177e4SLinus Torvalds
7421a3479aSJaroslav Kyselaconfig SND_PCM_OSS_PLUGINS
7521a3479aSJaroslav Kysela	bool "OSS PCM (digital audio) API - Include plugin system"
7621a3479aSJaroslav Kysela	depends on SND_PCM_OSS
7721a3479aSJaroslav Kysela        default y
7821a3479aSJaroslav Kysela	help
7921a3479aSJaroslav Kysela          If you disable this option, the ALSA's OSS PCM API will not
8021a3479aSJaroslav Kysela          support conversion of channels, formats and rates. It will
8121a3479aSJaroslav Kysela          behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
8221a3479aSJaroslav Kysela
831da177e4SLinus Torvaldsconfig SND_SEQUENCER_OSS
841da177e4SLinus Torvalds	bool "OSS Sequencer API"
8589fe5117STakashi Iwai	depends on SND_SEQUENCER
861da177e4SLinus Torvalds	select SND_OSSEMUL
871da177e4SLinus Torvalds	help
881da177e4SLinus Torvalds	  Say Y here to enable OSS sequencer emulation (both
891da177e4SLinus Torvalds	  /dev/sequencer and /dev/music interfaces).
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  Many programs still use the OSS API, so say Y.
921da177e4SLinus Torvalds
93c2f60c52SFrederik Deweerdt	  If you choose M in "Sequencer support" (SND_SEQUENCER),
94c2f60c52SFrederik Deweerdt	  this will be compiled as a module. The module will be called
95c2f60c52SFrederik Deweerdt	  snd-seq-oss.
961da177e4SLinus Torvalds
971da177e4SLinus Torvaldsconfig SND_RTCTIMER
981da177e4SLinus Torvalds	tristate "RTC Timer support"
9989fe5117STakashi Iwai	depends on RTC
1001da177e4SLinus Torvalds	select SND_TIMER
1011da177e4SLinus Torvalds	help
1021da177e4SLinus Torvalds	  Say Y here to enable RTC timer support for ALSA.  ALSA uses
1031da177e4SLinus Torvalds	  the RTC timer as a precise timing source and maps the RTC
1041da177e4SLinus Torvalds	  timer to ALSA's timer interface.  The ALSA sequencer code also
1051da177e4SLinus Torvalds	  can use this timing source.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1081da177e4SLinus Torvalds	  will be called snd-rtctimer.
1091da177e4SLinus Torvalds
110a4f508b2SClemens Ladischconfig SND_SEQ_RTCTIMER_DEFAULT
111a4f508b2SClemens Ladisch	bool "Use RTC as default sequencer timer"
112a4f508b2SClemens Ladisch	depends on SND_RTCTIMER && SND_SEQUENCER
113a4f508b2SClemens Ladisch	default y
114a4f508b2SClemens Ladisch	help
115a4f508b2SClemens Ladisch	  Say Y here to use the RTC timer as the default sequencer
116a4f508b2SClemens Ladisch	  timer.  This is strongly recommended because it ensures
117a4f508b2SClemens Ladisch	  precise MIDI timing even when the system timer runs at less
118a4f508b2SClemens Ladisch	  than 1000 Hz.
119a4f508b2SClemens Ladisch
120a4f508b2SClemens Ladisch	  If in doubt, say Y.
121a4f508b2SClemens Ladisch
122332682b1SClemens Ladischconfig SND_DYNAMIC_MINORS
123b10e5391SClemens Ladisch	bool "Dynamic device file minor numbers"
124332682b1SClemens Ladisch	help
125332682b1SClemens Ladisch	  If you say Y here, the minor numbers of ALSA device files in
126332682b1SClemens Ladisch	  /dev/snd/ are allocated dynamically.  This allows you to have
127332682b1SClemens Ladisch	  more than 8 sound cards, but requires a dynamic device file
128332682b1SClemens Ladisch	  system like udev.
129332682b1SClemens Ladisch
130332682b1SClemens Ladisch	  If you are unsure about this, say N here.
131332682b1SClemens Ladisch
13259d48582STakashi Iwaiconfig SND_SUPPORT_OLD_API
13359d48582STakashi Iwai	bool "Support old ALSA API"
13459d48582STakashi Iwai	default y
13559d48582STakashi Iwai	help
13659d48582STakashi Iwai	  Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
13759d48582STakashi Iwai	  or older).
13859d48582STakashi Iwai
13921a3479aSJaroslav Kyselaconfig SND_VERBOSE_PROCFS
14021a3479aSJaroslav Kysela	bool "Verbose procfs contents"
14189fe5117STakashi Iwai	depends on PROC_FS
14221a3479aSJaroslav Kysela	default y
14321a3479aSJaroslav Kysela	help
14421a3479aSJaroslav Kysela	  Say Y here to include code for verbose procfs contents (provides
145a982ac06SMatt LaPlante          useful information to developers when a problem occurs).  On the
14621a3479aSJaroslav Kysela          other side, it makes the ALSA subsystem larger.
14721a3479aSJaroslav Kysela
1481da177e4SLinus Torvaldsconfig SND_VERBOSE_PRINTK
1491da177e4SLinus Torvalds	bool "Verbose printk"
1501da177e4SLinus Torvalds	help
1511da177e4SLinus Torvalds	  Say Y here to enable verbose log messages.  These messages
1521da177e4SLinus Torvalds	  will help to identify source file and position containing
1531da177e4SLinus Torvalds	  printed messages.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  You don't need this unless you're debugging ALSA.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsconfig SND_DEBUG
1581da177e4SLinus Torvalds	bool "Debug"
1591da177e4SLinus Torvalds	help
1601da177e4SLinus Torvalds	  Say Y here to enable ALSA debug code.
1611da177e4SLinus Torvalds
16262cf872aSTakashi Iwaiconfig SND_DEBUG_VERBOSE
16362cf872aSTakashi Iwai	bool "More verbose debug"
1641da177e4SLinus Torvalds	depends on SND_DEBUG
1651da177e4SLinus Torvalds	help
16662cf872aSTakashi Iwai	  Say Y here to enable extra-verbose debugging messages.
16762cf872aSTakashi Iwai
16862cf872aSTakashi Iwai	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
16962cf872aSTakashi Iwai	  So, say Y only if you are ready to be annoyed.
17061fb63c0SJaroslav Kysela
17161fb63c0SJaroslav Kyselaconfig SND_PCM_XRUN_DEBUG
17261fb63c0SJaroslav Kysela	bool "Enable PCM ring buffer overrun/underrun debugging"
17361fb63c0SJaroslav Kysela	default n
174b7d90a35STakashi Iwai	depends on SND_DEBUG && SND_VERBOSE_PROCFS
17561fb63c0SJaroslav Kysela	help
17661fb63c0SJaroslav Kysela	  Say Y to enable the PCM ring buffer overrun/underrun debugging.
17761fb63c0SJaroslav Kysela	  It is usually not required, but if you have trouble with
17861fb63c0SJaroslav Kysela	  sound clicking when system is loaded, it may help to determine
17961fb63c0SJaroslav Kysela	  the process or driver which causes the scheduling gaps.
180e922b002STakashi Iwai
181e922b002STakashi Iwaiconfig SND_VMASTER
182e922b002STakashi Iwai	bool
183