Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:asoundrc [2025/09/09 18:56] – [Syntax] autostaticwiki:asoundrc [2025/09/09 20:14] (current) – [Syntax] autostatic
Line 3: Line 3:
  
 ===== Syntax ===== ===== Syntax =====
-The ''.asoundrc'' file uses a simple syntax that is comprised of simple code blocks enclosed by curly braces to create so-called definitions. Definitions can be created for two types of devices:+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 three types of devices:
  
   - ''pcm'' devices. These can be actual hardware or virtual devices created in the ''.asoundrc'' file itself.   - ''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.   - ''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
wiki/asoundrc.1757444208.txt.gz · Last modified: by autostatic