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