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