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.