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