From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaroslav Kysela Subject: Re: Order of device overrides in config files Date: Mon, 11 Jun 2018 14:20:45 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) by alsa0.perex.cz (Postfix) with ESMTP id 7350B266E91 for ; Mon, 11 Jun 2018 14:20:48 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org Cc: Pavel Hofman List-Id: alsa-devel@alsa-project.org 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 Linux Sound Maintainer; ALSA Project; Red Hat, Inc.