]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-skl_hda: remove volume setting in enable/disable sequences
authorJaska Uimonen <jaska.uimonen@linux.intel.com>
Fri, 27 Sep 2019 13:26:52 +0000 (16:26 +0300)
committerJaroslav Kysela <perex@perex.cz>
Tue, 1 Oct 2019 10:45:19 +0000 (12:45 +0200)
If the volume setting is defined in enable sequence you will
always get that exact volume when switching outputs in some
user space software like Pulseaudio. Pulseaudio will itself
keep track of the volume previously set.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm/sof-skl_hda_card/HiFi.conf

index 376f177a1033f1b19505858b8c81c9dd76a7e465..c878f0232f4cbdaa90aa867dd95fed7193bf6c09 100644 (file)
@@ -18,7 +18,6 @@ SectionDevice."Headphone" {
 
        EnableSequence [
                cdev "hw:sofsklhdacard"
-               cset "name='Headphone Playback Volume' 80"
                cset "name='Headphone Playback Switch' on"
        ]
 
@@ -43,7 +42,6 @@ SectionDevice."Speaker" {
        EnableSequence [
                cdev "hw:sofsklhdacard"
                cset "name='Speaker Playback Switch' on"
-               cset "name='Speaker Playback Volume' 80"
        ]
 
        DisableSequence [
@@ -88,7 +86,6 @@ SectionDevice."Dmic" {
 
        EnableSequence [
                cdev "hw:sofsklhdacard"
-               cset "name='PGA10.0 10 Master Capture Volume' 75"
        ]
 
        DisableSequence [