mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 00:36:31 +01:00
79033ceae4
Add support for pre-processing mixer and byte control objects. For ex: a pga widget with a mixer control as follows: Object.pga"0" { ... mixer.0 { index 2 max 32 name "2 MasterPlaybackControl" Object.Base.channel."fl" { shift 0 } Object.Base.channel."fr" { } Object.Base.tlv."vtlv_m64s2" { Object.Base.scale."m64s2" { mute 1 } } Object.Base.ops."ctl" { info "volsw" #256 binds the mixer control to volume get/put handlers get 256 put 256 } access [ read_write tlv_read ] } } Would be converted to: SectionControlMixer.'2 Master Playback Volume' { index 2 max 32 channel { fl { reg 1 } fr { reg 1 shift 1 } } tlv "vtlv_m64s2" ops.0 { info volsw get 256 put 256 } access [ read_write tlv_read ] } and the SectionWidget for pga.2.0 would be updated to add the mixer references as follows: SectionWidget.'pga.2.0' { ... mixer [ "2 Master Playback Volume" ] } Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
---|---|---|
.. | ||
alsatplg.rst | ||
Makefile.am | ||
pre-process-class.c | ||
pre-process-dapm.c | ||
pre-process-object.c | ||
pre-processor.c | ||
pre-processor.h | ||
topology.c | ||
topology.h |