From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: loading mixer control values from a different file when opening an device Date: Mon, 02 Apr 2012 15:04:32 +0200 Message-ID: <4F79A3E0.6020501@ladisch.de> References: <4F795CEB.4090203@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id 2CED2244AA for ; Mon, 2 Apr 2012 15:00:48 +0200 (CEST) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0760D20DCF for ; Mon, 2 Apr 2012 09:00:55 -0400 (EDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Ziv Haziz Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Ziv Haziz wrote: > I have tried the method described in the link (using <> for loading > other files) but I got an error - maybe I did not construct the small > configuration file correctly. Maybe, maybe not. My crystal ball broke yesterday, so I do not know what exactly you tried. > Is the <> method works like the c preprocessor #include directive? Yes. I put this into my ~/.asoundrc: pcm.test { type plug slave { pcm "hw:0" channels 2 } } and this into ~/my-ttable.conf: ttable [ [ 0 1 ] [ 1 0 ] ] and it works. Regards, Clemens