Add hardware volume-control support for the rt5640 codec.
Note this commit does not add support for the (digital) master
ADC/DAC Volume / Mute controls. There are 2 of each, and which
one should be used depends on which AIF is being used.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
PlaybackPriority 300
PlaybackPCM "hw:${CardId}"
JackControl "Headphone Jack"
+ PlaybackMixerElem "HP"
+ PlaybackVolume "HP Playback Volume"
}
}
CapturePriority 200
CapturePCM "hw:${CardId}"
JackControl "Headset Mic Jack"
+ CaptureMixerElem "IN2 Boost"
+ CaptureVolume "IN2 Boost"
}
}
Value {
CapturePriority 100
CapturePCM "hw:${CardId}"
+ CaptureMixerElem "IN1 Boost"
+ CaptureVolume "IN1 Boost"
}
}
Value {
CapturePriority 100
CapturePCM "hw:${CardId}"
+ CaptureMixerElem "IN3 Boost"
+ CaptureVolume "IN3 Boost"
}
}
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
+ PlaybackMixerElem "Speaker"
+ PlaybackVolume "Speaker Playback Volume"
}
}
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
+ PlaybackMixerElem "Speaker"
+ PlaybackVolume "Speaker Playback Volume"
}
}