xref: /openbmc/linux/sound/core/Kconfig (revision 52948b3f)
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_RTCTIMER
99	tristate "RTC Timer support"
100	depends on RTC
101	select SND_TIMER
102	help
103	  Say Y here to enable RTC timer support for ALSA.  ALSA uses
104	  the RTC timer as a precise timing source and maps the RTC
105	  timer to ALSA's timer interface.  The ALSA sequencer code also
106	  can use this timing source.
107
108	  To compile this driver as a module, choose M here: the module
109	  will be called snd-rtctimer.
110
111	  Note that this option is exclusive with the new RTC drivers
112	  (CONFIG_RTC_CLASS) since this requires the old API.
113
114config SND_SEQ_RTCTIMER_DEFAULT
115	bool "Use RTC as default sequencer timer"
116	depends on SND_RTCTIMER && SND_SEQUENCER
117	default y
118	help
119	  Say Y here to use the RTC timer as the default sequencer
120	  timer.  This is strongly recommended because it ensures
121	  precise MIDI timing even when the system timer runs at less
122	  than 1000 Hz.
123
124	  If in doubt, say Y.
125
126config SND_DYNAMIC_MINORS
127	bool "Dynamic device file minor numbers"
128	help
129	  If you say Y here, the minor numbers of ALSA device files in
130	  /dev/snd/ are allocated dynamically.  This allows you to have
131	  more than 8 sound cards, but requires a dynamic device file
132	  system like udev.
133
134	  If you are unsure about this, say N here.
135
136config SND_SUPPORT_OLD_API
137	bool "Support old ALSA API"
138	default y
139	help
140	  Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
141	  or older).
142
143config SND_VERBOSE_PROCFS
144	bool "Verbose procfs contents"
145	depends on PROC_FS
146	default y
147	help
148	  Say Y here to include code for verbose procfs contents (provides
149          useful information to developers when a problem occurs).  On the
150          other side, it makes the ALSA subsystem larger.
151
152config SND_VERBOSE_PRINTK
153	bool "Verbose printk"
154	help
155	  Say Y here to enable verbose log messages.  These messages
156	  will help to identify source file and position containing
157	  printed messages.
158
159	  You don't need this unless you're debugging ALSA.
160
161config SND_DEBUG
162	bool "Debug"
163	help
164	  Say Y here to enable ALSA debug code.
165
166config SND_DEBUG_VERBOSE
167	bool "More verbose debug"
168	depends on SND_DEBUG
169	help
170	  Say Y here to enable extra-verbose debugging messages.
171
172	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
173	  So, say Y only if you are ready to be annoyed.
174
175config SND_PCM_XRUN_DEBUG
176	bool "Enable PCM ring buffer overrun/underrun debugging"
177	default n
178	depends on SND_DEBUG && SND_VERBOSE_PROCFS
179	help
180	  Say Y to enable the PCM ring buffer overrun/underrun debugging.
181	  It is usually not required, but if you have trouble with
182	  sound clicking when system is loaded, it may help to determine
183	  the process or driver which causes the scheduling gaps.
184
185config SND_VMASTER
186	bool
187