Linux Audio

Check our new training course

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