Skip to contentSkip to conversation

Hidden mixer controls

DISCUSSION Liam Girdwood 1 participant 1 message Feb 20, 2006

lore
Share & tools
lore
#0 lore raw

Currently mixer controls can be marked inactive (in the driver) with the SNDRV_CTL_ELEM_ACCESS_INACTIVE flag. This causes alsamixer to skip them when rendering the mixer controls.

I'd like to add a similar extension to alsa-lib so that we can additionally mark controls as hidden within the sound card configuration file. i.e.

name "Mic Select"
preserve true
value "Mic1"
lock true
optional true
inactive true

The reason for needing this is that the ASoC codec drivers are generic and must export all the codec controls. This can make alsamixer very big (and confusing) with a lot of unused controls.

Any objections ?

Liam

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642