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