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