sof-skl_hda: add PlaybackVolume and CaptureVolume definitions
PlaybackVolume and CaptureVolume are not defined currently and these are needed in the future for example with Pulseaudio to enable hardware volume control. Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8797ee0bd9
commit
c8808f6d60
1 changed files with 8 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ SectionDevice."Headphone" {
|
|||
|
||||
Value {
|
||||
PlaybackPCM "hw:sofsklhdacard,0"
|
||||
PlaybackVolume "Headphone"
|
||||
PlaybackSwitch "Headphone Playback Switch"
|
||||
PlaybackChannels "2"
|
||||
JackName "sof-skl_hda_card Headphone"
|
||||
JackType "gpio"
|
||||
|
|
@ -51,6 +53,8 @@ SectionDevice."Speaker" {
|
|||
|
||||
Value {
|
||||
PlaybackPCM "hw:sofsklhdacard,0"
|
||||
PlaybackVolume "Speaker"
|
||||
PlaybackSwitch "Speaker Playback Switch"
|
||||
JackHWMute "Headphone"
|
||||
PlaybackChannels "2"
|
||||
}
|
||||
|
|
@ -73,6 +77,8 @@ SectionDevice."Headset" {
|
|||
|
||||
Value {
|
||||
CapturePCM "hw:0,0"
|
||||
CaptureVolume "Capture"
|
||||
CaptureSwitch "Capture Switch"
|
||||
CaptureChannels "2"
|
||||
JackControl "Mic Jack"
|
||||
}
|
||||
|
|
@ -95,6 +101,8 @@ SectionDevice."Dmic" {
|
|||
|
||||
Value {
|
||||
CapturePCM "hw:0,6"
|
||||
CaptureVolume "Dmic0 Capture Volume"
|
||||
CaptureSwitch "Dmic0 Capture Switch"
|
||||
CaptureChannels "2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue