2005-04-17 05:20:36 +07:00
|
|
|
# ALSA soundcard-configuration
|
|
|
|
config SND_TIMER
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config SND_PCM
|
|
|
|
tristate
|
|
|
|
select SND_TIMER
|
|
|
|
|
2015-05-09 17:26:42 +07:00
|
|
|
config SND_PCM_ELD
|
|
|
|
bool
|
|
|
|
|
2015-05-09 17:26:47 +07:00
|
|
|
config SND_PCM_IEC958
|
|
|
|
bool
|
|
|
|
|
2013-08-12 15:42:37 +07:00
|
|
|
config SND_DMAENGINE_PCM
|
2013-08-15 21:03:52 +07:00
|
|
|
tristate
|
2013-08-12 15:42:37 +07:00
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
config SND_HWDEP
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config SND_RAWMIDI
|
|
|
|
tristate
|
|
|
|
|
2012-01-13 15:53:53 +07:00
|
|
|
config SND_COMPRESS_OFFLOAD
|
|
|
|
tristate
|
|
|
|
|
2008-07-29 01:05:36 +07:00
|
|
|
# To be effective this also requires INPUT - users should say:
|
|
|
|
# select SND_JACK if INPUT=y || INPUT=SND
|
|
|
|
# to avoid having to force INPUT on.
|
|
|
|
config SND_JACK
|
|
|
|
bool
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
config SND_SEQUENCER
|
|
|
|
tristate "Sequencer support"
|
|
|
|
select SND_TIMER
|
|
|
|
help
|
|
|
|
Say Y or M to enable MIDI sequencer and router support. This
|
|
|
|
feature allows routing and enqueueing of MIDI events. Events
|
|
|
|
can be processed at a given time.
|
|
|
|
|
|
|
|
Many programs require this feature, so you should enable it
|
|
|
|
unless you know what you're doing.
|
|
|
|
|
|
|
|
config SND_SEQ_DUMMY
|
|
|
|
tristate "Sequencer dummy client"
|
|
|
|
depends on SND_SEQUENCER
|
|
|
|
help
|
|
|
|
Say Y here to enable the dummy sequencer client. This client
|
|
|
|
is a simple MIDI-through client: all normal input events are
|
|
|
|
redirected to the output port immediately.
|
|
|
|
|
|
|
|
You don't need this unless you want to connect many MIDI
|
|
|
|
devices or applications together.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-seq-dummy.
|
|
|
|
|
|
|
|
config SND_OSSEMUL
|
2008-08-28 21:42:51 +07:00
|
|
|
select SOUND_OSS_CORE
|
2005-04-17 05:20:36 +07:00
|
|
|
bool
|
|
|
|
|
|
|
|
config SND_MIXER_OSS
|
|
|
|
tristate "OSS Mixer API"
|
|
|
|
select SND_OSSEMUL
|
|
|
|
help
|
|
|
|
To enable OSS mixer API emulation (/dev/mixer*), say Y here
|
|
|
|
and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
|
|
|
|
|
|
|
|
Many programs still use the OSS API, so say Y.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-mixer-oss.
|
|
|
|
|
|
|
|
config SND_PCM_OSS
|
|
|
|
tristate "OSS PCM (digital audio) API"
|
|
|
|
select SND_OSSEMUL
|
|
|
|
select SND_PCM
|
|
|
|
help
|
|
|
|
To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
|
|
|
|
here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
|
|
|
|
|
|
|
|
Many programs still use the OSS API, so say Y.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-pcm-oss.
|
|
|
|
|
2006-01-13 15:12:11 +07:00
|
|
|
config SND_PCM_OSS_PLUGINS
|
|
|
|
bool "OSS PCM (digital audio) API - Include plugin system"
|
|
|
|
depends on SND_PCM_OSS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
If you disable this option, the ALSA's OSS PCM API will not
|
|
|
|
support conversion of channels, formats and rates. It will
|
|
|
|
behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
config SND_SEQUENCER_OSS
|
|
|
|
bool "OSS Sequencer API"
|
2008-05-23 21:10:37 +07:00
|
|
|
depends on SND_SEQUENCER
|
2005-04-17 05:20:36 +07:00
|
|
|
select SND_OSSEMUL
|
|
|
|
help
|
|
|
|
Say Y here to enable OSS sequencer emulation (both
|
|
|
|
/dev/sequencer and /dev/music interfaces).
|
|
|
|
|
|
|
|
Many programs still use the OSS API, so say Y.
|
|
|
|
|
2006-03-31 18:13:23 +07:00
|
|
|
If you choose M in "Sequencer support" (SND_SEQUENCER),
|
|
|
|
this will be compiled as a module. The module will be called
|
|
|
|
snd-seq-oss.
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2008-10-24 23:16:50 +07:00
|
|
|
config SND_HRTIMER
|
|
|
|
tristate "HR-timer backend support"
|
|
|
|
depends on HIGH_RES_TIMERS
|
|
|
|
select SND_TIMER
|
|
|
|
help
|
|
|
|
Say Y here to enable HR-timer backend for ALSA timer. ALSA uses
|
|
|
|
the hrtimer as a precise timing source. The ALSA sequencer code
|
|
|
|
also can use this timing source.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-hrtimer.
|
|
|
|
|
|
|
|
config SND_SEQ_HRTIMER_DEFAULT
|
|
|
|
bool "Use HR-timer as default sequencer timer"
|
|
|
|
depends on SND_HRTIMER && SND_SEQUENCER
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here to use the HR-timer backend as the default sequencer
|
|
|
|
timer.
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
config SND_RTCTIMER
|
|
|
|
tristate "RTC Timer support"
|
2008-05-23 21:10:37 +07:00
|
|
|
depends on RTC
|
2005-04-17 05:20:36 +07:00
|
|
|
select SND_TIMER
|
|
|
|
help
|
|
|
|
Say Y here to enable RTC timer support for ALSA. ALSA uses
|
|
|
|
the RTC timer as a precise timing source and maps the RTC
|
|
|
|
timer to ALSA's timer interface. The ALSA sequencer code also
|
|
|
|
can use this timing source.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-rtctimer.
|
|
|
|
|
2008-10-07 21:13:59 +07:00
|
|
|
Note that this option is exclusive with the new RTC drivers
|
|
|
|
(CONFIG_RTC_CLASS) since this requires the old API.
|
|
|
|
|
2005-09-06 13:00:19 +07:00
|
|
|
config SND_SEQ_RTCTIMER_DEFAULT
|
|
|
|
bool "Use RTC as default sequencer timer"
|
|
|
|
depends on SND_RTCTIMER && SND_SEQUENCER
|
2008-10-29 22:08:01 +07:00
|
|
|
depends on !SND_SEQ_HRTIMER_DEFAULT
|
2005-09-06 13:00:19 +07:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here to use the RTC timer as the default sequencer
|
|
|
|
timer. This is strongly recommended because it ensures
|
|
|
|
precise MIDI timing even when the system timer runs at less
|
|
|
|
than 1000 Hz.
|
|
|
|
|
|
|
|
If in doubt, say Y.
|
|
|
|
|
2005-11-20 20:07:47 +07:00
|
|
|
config SND_DYNAMIC_MINORS
|
2006-06-27 13:41:26 +07:00
|
|
|
bool "Dynamic device file minor numbers"
|
2005-11-20 20:07:47 +07:00
|
|
|
help
|
|
|
|
If you say Y here, the minor numbers of ALSA device files in
|
|
|
|
/dev/snd/ are allocated dynamically. This allows you to have
|
|
|
|
more than 8 sound cards, but requires a dynamic device file
|
|
|
|
system like udev.
|
|
|
|
|
|
|
|
If you are unsure about this, say N here.
|
|
|
|
|
ALSA: Add kconfig to specify the max card numbers
Currently ALSA supports up to 32 card instances when the dynamic minor
is used. While 32 cards are usually big enough for normal use cases,
there are sometimes weird requirements with more card support.
Actually, this limitation, 32, comes from the index option, where you
can pass the bit mask to assign the card. Other than that, we can
actually give more cards up to the minor number limits (currently 256,
which can be extended more, too).
This patch adds a new Kconfig to specify the max card numbers, and
changes a few places to accept more than 32 cards.
The only incompatibility with high card numbers would be the handling
of index option. The index option can be still used to pass the
bitmask for card assignments, but this works only up to 32 slots.
More than 32, no bitmask style option is available but only a single
slot can be specified via index option.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-05-15 13:46:39 +07:00
|
|
|
config SND_MAX_CARDS
|
|
|
|
int "Max number of sound cards"
|
|
|
|
range 4 256
|
|
|
|
default 32
|
|
|
|
depends on SND_DYNAMIC_MINORS
|
|
|
|
help
|
|
|
|
Specify the max number of sound cards that can be assigned
|
|
|
|
on a single machine.
|
|
|
|
|
2005-12-01 16:51:58 +07:00
|
|
|
config SND_SUPPORT_OLD_API
|
|
|
|
bool "Support old ALSA API"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
|
|
|
|
or older).
|
|
|
|
|
2006-01-13 15:12:11 +07:00
|
|
|
config SND_VERBOSE_PROCFS
|
|
|
|
bool "Verbose procfs contents"
|
2008-05-23 21:10:37 +07:00
|
|
|
depends on PROC_FS
|
2006-01-13 15:12:11 +07:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here to include code for verbose procfs contents (provides
|
2007-05-09 12:35:06 +07:00
|
|
|
useful information to developers when a problem occurs). On the
|
2006-01-13 15:12:11 +07:00
|
|
|
other side, it makes the ALSA subsystem larger.
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
config SND_VERBOSE_PRINTK
|
|
|
|
bool "Verbose printk"
|
|
|
|
help
|
|
|
|
Say Y here to enable verbose log messages. These messages
|
|
|
|
will help to identify source file and position containing
|
|
|
|
printed messages.
|
|
|
|
|
|
|
|
You don't need this unless you're debugging ALSA.
|
|
|
|
|
|
|
|
config SND_DEBUG
|
|
|
|
bool "Debug"
|
|
|
|
help
|
|
|
|
Say Y here to enable ALSA debug code.
|
|
|
|
|
2008-05-20 17:15:15 +07:00
|
|
|
config SND_DEBUG_VERBOSE
|
|
|
|
bool "More verbose debug"
|
2005-04-17 05:20:36 +07:00
|
|
|
depends on SND_DEBUG
|
|
|
|
help
|
2008-05-20 17:15:15 +07:00
|
|
|
Say Y here to enable extra-verbose debugging messages.
|
|
|
|
|
|
|
|
Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
|
|
|
|
So, say Y only if you are ready to be annoyed.
|
2006-04-25 02:57:16 +07:00
|
|
|
|
|
|
|
config SND_PCM_XRUN_DEBUG
|
|
|
|
bool "Enable PCM ring buffer overrun/underrun debugging"
|
|
|
|
default n
|
2006-04-25 17:56:04 +07:00
|
|
|
depends on SND_DEBUG && SND_VERBOSE_PROCFS
|
2006-04-25 02:57:16 +07:00
|
|
|
help
|
|
|
|
Say Y to enable the PCM ring buffer overrun/underrun debugging.
|
|
|
|
It is usually not required, but if you have trouble with
|
|
|
|
sound clicking when system is loaded, it may help to determine
|
|
|
|
the process or driver which causes the scheduling gaps.
|
2008-02-18 19:03:13 +07:00
|
|
|
|
|
|
|
config SND_VMASTER
|
|
|
|
bool
|
2009-05-26 22:07:52 +07:00
|
|
|
|
2008-06-17 21:39:06 +07:00
|
|
|
config SND_DMA_SGBUF
|
|
|
|
def_bool y
|
|
|
|
depends on X86
|
|
|
|
|
2009-05-26 22:07:52 +07:00
|
|
|
source "sound/core/seq/Kconfig"
|