[alsa-devel] ctl_elems hooks with dmix plugin

Takashi Iwai tiwai at suse.de
Thu Sep 24 10:05:57 CEST 2009

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.


More information about the Alsa-devel mailing list