xref: /openbmc/linux/sound/core/Kconfig (revision 384740dc)
1# ALSA soundcard-configuration
2config SND_TIMER
3	tristate
4
5config SND_PCM
6	tristate
7	select SND_TIMER
8
9config SND_HWDEP
10	tristate
11
12config SND_RAWMIDI
13	tristate
14
15config SND_SEQUENCER
16	tristate "Sequencer support"
17	select SND_TIMER
18	help
19	  Say Y or M to enable MIDI sequencer and router support.  This
20	  feature allows routing and enqueueing of MIDI events.  Events
21	  can be processed at a given time.
22
23	  Many programs require this feature, so you should enable it
24	  unless you know what you're doing.
25
26config SND_SEQ_DUMMY
27	tristate "Sequencer dummy client"
28	depends on SND_SEQUENCER
29	help
30	  Say Y here to enable the dummy sequencer client.  This client
31	  is a simple MIDI-through client: all normal input events are
32	  redirected to the output port immediately.
33
34	  You don't need this unless you want to connect many MIDI
35	  devices or applications together.
36
37	  To compile this driver as a module, choose M here: the module
38	  will be called snd-seq-dummy.
39
40config SND_OSSEMUL
41	bool
42
43config SND_MIXER_OSS
44	tristate "OSS Mixer API"
45	select SND_OSSEMUL
46	help
47	  To enable OSS mixer API emulation (/dev/mixer*), say Y here
48	  and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
49
50	  Many programs still use the OSS API, so say Y.
51
52	  To compile this driver as a module, choose M here: the module
53	  will be called snd-mixer-oss.
54
55config SND_PCM_OSS
56	tristate "OSS PCM (digital audio) API"
57	select SND_OSSEMUL
58	select SND_PCM
59	help
60	  To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
61	  here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
62
63	  Many programs still use the OSS API, so say Y.
64
65	  To compile this driver as a module, choose M here: the module
66	  will be called snd-pcm-oss.
67
68config 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
77config SND_SEQUENCER_OSS
78	bool "OSS Sequencer API"
79	depends on SND_SEQUENCER
80	select SND_OSSEMUL
81	help
82	  Say Y here to enable OSS sequencer emulation (both
83	  /dev/sequencer and /dev/music interfaces).
84
85	  Many programs still use the OSS API, so say Y.
86
87	  If you choose M in "Sequencer support" (SND_SEQUENCER),
88	  this will be compiled as a module. The module will be called
89	  snd-seq-oss.
90
91config SND_RTCTIMER
92	tristate "RTC Timer support"
93	depends on RTC
94	select SND_TIMER
95	help
96	  Say Y here to enable RTC timer support for ALSA.  ALSA uses
97	  the RTC timer as a precise timing source and maps the RTC
98	  timer to ALSA's timer interface.  The ALSA sequencer code also
99	  can use this timing source.
100
101	  To compile this driver as a module, choose M here: the module
102	  will be called snd-rtctimer.
103
104config SND_SEQ_RTCTIMER_DEFAULT
105	bool "Use RTC as default sequencer timer"
106	depends on SND_RTCTIMER && SND_SEQUENCER
107	default y
108	help
109	  Say Y here to use the RTC timer as the default sequencer
110	  timer.  This is strongly recommended because it ensures
111	  precise MIDI timing even when the system timer runs at less
112	  than 1000 Hz.
113
114	  If in doubt, say Y.
115
116config SND_DYNAMIC_MINORS
117	bool "Dynamic device file minor numbers"
118	help
119	  If you say Y here, the minor numbers of ALSA device files in
120	  /dev/snd/ are allocated dynamically.  This allows you to have
121	  more than 8 sound cards, but requires a dynamic device file
122	  system like udev.
123
124	  If you are unsure about this, say N here.
125
126config SND_SUPPORT_OLD_API
127	bool "Support old ALSA API"
128	default y
129	help
130	  Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
131	  or older).
132
133config SND_VERBOSE_PROCFS
134	bool "Verbose procfs contents"
135	depends on PROC_FS
136	default y
137	help
138	  Say Y here to include code for verbose procfs contents (provides
139          useful information to developers when a problem occurs).  On the
140          other side, it makes the ALSA subsystem larger.
141
142config SND_VERBOSE_PRINTK
143	bool "Verbose printk"
144	help
145	  Say Y here to enable verbose log messages.  These messages
146	  will help to identify source file and position containing
147	  printed messages.
148
149	  You don't need this unless you're debugging ALSA.
150
151config SND_DEBUG
152	bool "Debug"
153	help
154	  Say Y here to enable ALSA debug code.
155
156config SND_DEBUG_VERBOSE
157	bool "More verbose debug"
158	depends on SND_DEBUG
159	help
160	  Say Y here to enable extra-verbose debugging messages.
161
162	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
163	  So, say Y only if you are ready to be annoyed.
164
165config SND_PCM_XRUN_DEBUG
166	bool "Enable PCM ring buffer overrun/underrun debugging"
167	default n
168	depends on SND_DEBUG && SND_VERBOSE_PROCFS
169	help
170	  Say Y to enable the PCM ring buffer overrun/underrun debugging.
171	  It is usually not required, but if you have trouble with
172	  sound clicking when system is loaded, it may help to determine
173	  the process or driver which causes the scheduling gaps.
174
175config SND_VMASTER
176	bool
177