This is an old revision of the document!
asoundrc
The .asoundrc
file allows a user to leverage extra functionality offered by ALSA. This article is supplemental to the information available on the ALSA wiki
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:
pcm
devices. These can be actual hardware or virtual devices created in the.asoundrc
file itself.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 either pcm
or ctl
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.