Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| wiki:asoundrc [2025/09/09 18:35] – autostatic | wiki:asoundrc [2025/09/16 11:17] (current) – autostatic |
|---|
| ====== asoundrc ====== | ====== asoundrc ====== |
| The ''.asoundrc'' file allows a user to leverage extra functionality offered by [[apps:all:ALSA]]. | The ''.asoundrc'' file allows a user to leverage extra functionality offered by [[apps:all:ALSA]]. This article is supplemental to the information available on the [[https://www.alsa-project.org/main/index.php/Asoundrc|ALSA wiki]] |
| | |
| | ===== Syntax ===== |
| | The ''.asoundrc'' file uses a simple syntax that consists of code blocks enclosed by curly braces to create so-called definitions. Definitions can be created for several types of devices. The most used are: |
| | |
| | - ''pcm'' devices. These can be actual hardware or virtual devices created in the ''.asoundrc'' file itself. |
| | - ''pcm_slave'' devices. These are secondary references to either hardware or virtual devices. They can be used to chain definitions. |
| | - ''ctl'' devices. These comprise how programs can modify specific parameters of hardware or virtual devices. |
| | |
| | To assign a definition to a device add a line beginning with one of the key words above followed by a dot and the name of the device. This name can be a reference to the default card (''!default'') or a designation of choice. |
| | |
| | ===== Definitions ===== |
| | Definitions must contain at least the ''type'' key word followed by the name of the PCM plugin that has to be configured. A full list of available plugins can be found here: https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html |
| | |
| | ===== References ===== |
| | [[https://www.alsa-project.org/main/index.php/Asoundrc|Asoundrc]]\\ |
| | [[https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html|ALSA project - the C library reference]]\\ |
| | [[https://www.volkerschatz.com/noise/alsa.html|A close look at ALSA]] |