xref: /openbmc/linux/sound/core/Kconfig (revision 5fb94e9c)
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_SEQ_DEVICE
22	tristate
23
24config SND_RAWMIDI
25	tristate
26	select SND_SEQ_DEVICE if SND_SEQUENCER != n
27
28config SND_COMPRESS_OFFLOAD
29	tristate
30
31config SND_JACK
32	bool
33
34# enable input device support in jack layer
35config SND_JACK_INPUT_DEV
36	bool
37	depends on SND_JACK
38	default y if INPUT=y || INPUT=SND
39
40config SND_OSSEMUL
41	bool "Enable OSS Emulation"
42	select SOUND_OSS_CORE
43	help
44	  This option enables the build of OSS emulation layer.
45
46config SND_MIXER_OSS
47	tristate "OSS Mixer API"
48	depends on SND_OSSEMUL
49	help
50	  To enable OSS mixer API emulation (/dev/mixer*), say Y here
51	  and read <file:Documentation/sound/designs/oss-emulation.rst>.
52
53	  Many programs still use the OSS API, so say Y.
54
55	  To compile this driver as a module, choose M here: the module
56	  will be called snd-mixer-oss.
57
58config SND_PCM_OSS
59	tristate "OSS PCM (digital audio) API"
60	depends on SND_OSSEMUL
61	select SND_PCM
62	help
63	  To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
64	  here and read <file:Documentation/sound/designs/oss-emulation.rst>.
65
66	  Many programs still use the OSS API, so say Y.
67
68	  To compile this driver as a module, choose M here: the module
69	  will be called snd-pcm-oss.
70
71config SND_PCM_OSS_PLUGINS
72	bool "OSS PCM (digital audio) API - Include plugin system"
73	depends on SND_PCM_OSS
74        default y
75	help
76          If you disable this option, the ALSA's OSS PCM API will not
77          support conversion of channels, formats and rates. It will
78          behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
79
80config SND_PCM_TIMER
81	bool "PCM timer interface" if EXPERT
82	default y
83	help
84	  If you disable this option, pcm timer will be unavailable, so
85	  those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
86	  incorrectlly.
87
88	  For some embedded devices, we may disable it to reduce memory
89	  footprint, about 20KB on x86_64 platform.
90
91config SND_HRTIMER
92	tristate "HR-timer backend support"
93	depends on HIGH_RES_TIMERS
94	select SND_TIMER
95	help
96	  Say Y here to enable HR-timer backend for ALSA timer.  ALSA uses
97	  the hrtimer as a precise timing source. The ALSA sequencer code
98	  also can use this timing source.
99
100	  To compile this driver as a module, choose M here: the module
101	  will be called snd-hrtimer.
102
103config SND_DYNAMIC_MINORS
104	bool "Dynamic device file minor numbers"
105	help
106	  If you say Y here, the minor numbers of ALSA device files in
107	  /dev/snd/ are allocated dynamically.  This allows you to have
108	  more than 8 sound cards, but requires a dynamic device file
109	  system like udev.
110
111	  If you are unsure about this, say N here.
112
113config SND_MAX_CARDS
114	int "Max number of sound cards"
115	range 4 256
116	default 32
117	depends on SND_DYNAMIC_MINORS
118	help
119	  Specify the max number of sound cards that can be assigned
120	  on a single machine.
121
122config SND_SUPPORT_OLD_API
123	bool "Support old ALSA API"
124	default y
125	help
126	  Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
127	  or older).
128
129config SND_PROC_FS
130        bool "Sound Proc FS Support" if EXPERT
131        depends on PROC_FS
132        default y
133        help
134          Say 'N' to disable Sound proc FS, which may reduce code size about
135          9KB on x86_64 platform.
136          If unsure say Y.
137
138config SND_VERBOSE_PROCFS
139	bool "Verbose procfs contents"
140	depends on SND_PROC_FS
141	default y
142	help
143	  Say Y here to include code for verbose procfs contents (provides
144          useful information to developers when a problem occurs).  On the
145          other side, it makes the ALSA subsystem larger.
146
147config SND_VERBOSE_PRINTK
148	bool "Verbose printk"
149	help
150	  Say Y here to enable verbose log messages.  These messages
151	  will help to identify source file and position containing
152	  printed messages.
153
154	  You don't need this unless you're debugging ALSA.
155
156config SND_DEBUG
157	bool "Debug"
158	help
159	  Say Y here to enable ALSA debug code.
160
161config SND_DEBUG_VERBOSE
162	bool "More verbose debug"
163	depends on SND_DEBUG
164	help
165	  Say Y here to enable extra-verbose debugging messages.
166
167	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
168	  So, say Y only if you are ready to be annoyed.
169
170config SND_PCM_XRUN_DEBUG
171	bool "Enable PCM ring buffer overrun/underrun debugging"
172	default n
173	depends on SND_DEBUG && SND_VERBOSE_PROCFS
174	help
175	  Say Y to enable the PCM ring buffer overrun/underrun debugging.
176	  It is usually not required, but if you have trouble with
177	  sound clicking when system is loaded, it may help to determine
178	  the process or driver which causes the scheduling gaps.
179
180config SND_VMASTER
181	bool
182
183config SND_DMA_SGBUF
184	def_bool y
185	depends on X86
186
187source "sound/core/seq/Kconfig"
188