[alsa-devel] Order of device overrides in config files

Jaroslav Kysela perex at perex.cz
Mon Jun 11 14:20:45 CEST 2018


Dne 11.6.2018 v 13:33 Pavel Hofman napsal(a):
> Hello,
> 
> Please in what order are devices specified in alsa conf overriden?
> 
> The  pcm.!default device is defined in /usr/share/alsa/pulse-alsa.conf. 
> Also, I redefine this device in my .asoundrc. Strace dump shows my 
> .asoundrc is loaded after /usr/share/alsa/pulse-alsa.conf. Yet the 
> default device remains the pulse plugin.
> 
> Also, what is the exact meaning of the exclamation mark in the device name?

It means operation mode 'override':

http://www.alsa-project.org/alsa-doc/alsa-lib/conf.html

By default, the operation mode is 'merge+create'.

						Jaroslav

-- 
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.


More information about the Alsa-devel mailing list