On 01/11/2013 04:05 PM, Lars-Peter Clausen wrote:
On 01/11/2013 02:57 PM, Mark Brown wrote:
On Fri, Jan 11, 2013 at 01:56:17PM +0100, Lars-Peter Clausen wrote:
On 01/11/2013 01:45 PM, Mark Brown wrote:
Virtual enums do actually end up routing, that's not what a mute control usually does. You can do the above in the manner I suggested, just have the register forced to a particular value when the DAC is disabled.
Well, that's what the code does. The alternative is to implement more or
No, it's not (at least not according to the changelog). It implements a totally separate virtual control.
What do you mean by 'separate'? Maybe this is was causes the confusion. Do you mean a separate DAPM control, like DAPM_SWITCH? That's not what the patch does it creates a virtual kcontrol, which can be used to control a mixers input. It's the pendant to SOC_DAPM_ENUM_VIRT not to
s/pendant/counterpart/ apparently this is a false friend
SND_SOC_DAPM_VIRT_MUX. I realize that the commit message may have been a bit ambiguous in that regard.
- Lars
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel