Kconfig

CONFIG_SND_TIMER

  • Off
  • Module
  • Built in

CONFIG_SND_PCM_ELD

On

CONFIG_SND_PCM_IEC958

On

CONFIG_SND_DMAENGINE_PCM

  • Off
  • Module
  • Built in

CONFIG_SND_HWDEP

  • Off
  • Module
  • Built in

CONFIG_SND_SEQ_DEVICE

  • Off
  • Module
  • Built in

CONFIG_SND_UMP_LEGACY_RAWMIDI Legacy raw MIDI support for UMP streams

On

This option enables the legacy raw MIDI support for UMP streams. When this option is set, an additional rawmidi device for the legacy MIDI 1.0 byte streams is created for each UMP Endpoint. The device contains 16 substreams corresponding to UMP groups.

CONFIG_SND_CORE_TEST Sound core KUnit test

  • Off
  • Module
  • Built in

This options enables the sound core functions KUnit test.

KUnit tests run during boot and output the results to the debug log in TAP format (https://testanything.org/). Only useful for kernel devs running KUnit test harness and are not for inclusion into a production build.

For more information on KUnit and unit tests in general, refer to the KUnit documentation in Documentation/dev-tools/kunit/.

CONFIG_SND_COMPRESS_OFFLOAD

  • Off
  • Module
  • Built in

CONFIG_SND_COMPRESS_ACCEL

On

CONFIG_SND_OSSEMUL Enable OSS Emulation

On

This option enables the build of OSS emulation layer.

If SND_OSSEMUL

CONFIG_SND_MIXER_OSS OSS Mixer API

  • Off
  • Module
  • Built in

To enable OSS mixer API emulation (/dev/mixer*), say Y here and read <file:Documentation/sound/designs/oss-emulation.rst>.

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.

If SND_PCM_OSS

CONFIG_SND_PCM_OSS_PLUGINS OSS PCM (digital audio) API - Include plugin system

On

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.

CONFIG_SND_PCM_TIMER PCM timer interface

On

If you disable this option, pcm timer will be unavailable, so those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work incorrectly.

For some embedded devices, we may disable it to reduce memory footprint, about 20KB on x86_64 platform.

CONFIG_SND_HRTIMER HR-timer backend support

  • Off
  • Module
  • Built in

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_DYNAMIC_MINORS Dynamic device file minor numbers

On

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.

If SND_DYNAMIC_MINORS

CONFIG_SND_SUPPORT_OLD_API Support old ALSA API

On

Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3 or older).

CONFIG_SND_PROC_FS Sound Proc FS Support

On

Say 'N' to disable Sound proc FS, which may reduce code size about 9KB on x86_64 platform. If unsure say Y.

If SND_PROC_FS

CONFIG_SND_VERBOSE_PROCFS Verbose procfs contents

On

Say Y here to include code for verbose procfs contents (provides useful information to developers when a problem occurs). On the other side, it makes the ALSA subsystem larger.

CONFIG_SND_CTL_FAST_LOOKUP Fast lookup of control elements

On

This option enables the faster lookup of control elements. It will consume more memory because of the additional Xarray. If you want to choose the memory footprint over the performance inevitably, turn this off.

CONFIG_SND_DEBUG Debug

On

Say Y here to enable ALSA debug code.

If SND_DEBUG

CONFIG_SND_DEBUG_VERBOSE More verbose debug

On

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.

CONFIG_SND_PCM_XRUN_DEBUG Enable PCM ring buffer overrun/underrun debugging

On

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.

CONFIG_SND_CTL_INPUT_VALIDATION Validate input data to control API

On

Say Y to enable the additional validation for the input data to each control element, including the value range checks. An error is returned from ALSA core for invalid inputs without passing to the driver. This is a kind of hardening for drivers that have no proper error checks, at the cost of a slight performance overhead.

CONFIG_SND_CTL_DEBUG Enable debugging feature for control API

On

Say Y to enable the debugging feature for ALSA control API. It performs the additional sanity-checks for each control element read access, such as whether the values returned from the driver are in the proper ranges or the check of the invalid access at out-of-array areas. The error is printed when the driver gives such unexpected values. When you develop a driver that deals with control elements, it's strongly recommended to try this one once and verify whether you see any relevant errors or not.

CONFIG_SND_JACK_INJECTION_DEBUG Sound jack injection interface via debugfs

On

This option can be used to enable or disable sound jack software injection. Say Y if you are debugging via jack injection interface. If unsure select "N".

CONFIG_SND_UTIMER Enable support for userspace-controlled virtual timers

On

Say Y to enable the support of userspace-controlled timers. These timers are purely virtual, and they are supposed to be triggered from userspace. They could be quite useful when synchronizing the sound timing with userspace applications (for instance, when sending data through snd-aloop).

CONFIG_SND_VMASTER

On
Includesound/core/seq/Kconfig Open file