From: Takashi Iwai Subject: Re: ctl_elems hooks with dmix plugin Date: Thu, 24 Sep 2009 10:05:57 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 1860110386E for ; Thu, 24 Sep 2009 10:05:57 +0200 (CEST) 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: George Kuriakose Cc: alsa-user@lists.sourceforge.net, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 23 Sep 2009 00:55:54 +0530, George Kuriakose wrote: > > Hi > I was trying to use ctl_elems hooks with dmix plugin but figured that > this combination doesn't work. Is there any workaround for this. > I am trying the following. > There are two softvol devices s0 and s1 going through dmix plugins. > I wan't to mute s0 when any app opens s1 and unmute s0 when s1 is closed. > I am using the below asoundrc file which results in "No card for this PCM" . > Any workarounds or any minor change in libasound which will make this work? Currently hook plugin doesn't work with dmix/dsnoop. The problem is that it doesn't inherit the result of snd_pcm_info() from the slave PCM. It'd be not too difficult to make it working, though, I guess. Takashi