[alsa-devel] [PATCH 5/8] ASoC: TWL4030: DAPM mapping of the PreDriv outputs
broonie at sirena.org.uk
Mon Dec 8 14:50:26 CET 2008
On Mon, Dec 08, 2008 at 01:40:05PM +0200, Peter Ujfalusi wrote:
> On Monday 08 December 2008 13:28:48 ext Mark Brown wrote:
> > Does the "Invalid" option work well in applications like alsamixer?
> Not quite well, the outmixer_event will just plain forbits the Invalid
> combination (returns -1, which should have been -EINVAL). In alsamixer you
> can not really select the "DACR2". With amixer you can.
Eew, ick. This isn't going to work nicely at all without custom
controls or support in the core for masking out mux values.
> I have been wondering about this for a while but could not find a better
> solution, yet.
Silently rewriting the values isn't nice but should work.
Given the nature of the control I suspect your current solution will be
OK for now - I'd not expect it to be updated interactively too often.
More information about the Alsa-devel