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