]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
PandaBoard: corrections and fixes
authorJaroslav Kysela <perex@perex.cz>
Tue, 4 Feb 2020 18:11:10 +0000 (19:11 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 5 Feb 2020 12:17:24 +0000 (13:17 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/PandaBoard/FMAnalog.conf
ucm2/PandaBoard/HiFi.conf
ucm2/PandaBoard/HiFiLP.conf
ucm2/PandaBoard/Record.conf
ucm2/PandaBoard/Voice.conf
ucm2/PandaBoard/VoiceCall.conf

index 11a2288be4b9937d30bd786e74c29440204b4877..29cbbe84c56a3e23736c6de49ef73ccf2b0085d6 100644 (file)
@@ -17,10 +17,9 @@ SectionVerb {
                 cset "name='Capture Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        Value {
                TQ "Music"
-                CapturePCM "hw:${CardId},0"
        }
 }
 
@@ -38,5 +37,9 @@ SectionDevice."Headset" {
                 cset "name='Analog Right Capture Route' 3"
                 cset "name='Capture Preamplifier Volume' 0"
        ]
-}
 
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId}"
+       }
+}
index 1b161250b3d38fd561d17b0a7c6ea4a64af6b9e2..5de0c8fe792140a389b4a9945fd5a18504839acf 100644 (file)
@@ -26,13 +26,10 @@ SectionVerb {
                 cset "name='Headset Playback Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
-#      Value {
-#              TQ "Music"
-#              PlaybackPCM "hw:${CardId},0"
-#                PlaybackVolume "name='DL1 Media Playback Volume' 90,90"
-#                PlaybackSwitch "name='DL1 PDM Switch' 1"
-#      }
+       # Optional TQ
+       Value {
+               TQ "Music"
+       }
 }
 
 SectionDevice."Headset" {
@@ -49,4 +46,11 @@ SectionDevice."Headset" {
                cset "name='Headset Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId}"
+               # PlaybackVolume "name='DL1 Media Playback Volume' 90,90"
+               # PlaybackSwitch "name='DL1 PDM Switch' 1"
+       }
 }
index 92de382dab7802cd58e71b07f37795ef0dab102f..c735248b23c7b99597bbcc72d5ac0149eb9c1c4c 100644 (file)
@@ -18,10 +18,9 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        Value {
                TQ "Music"
-               PlaybackPCM "hw:${CardId},6"
        }
 }
 
@@ -39,4 +38,9 @@ SectionDevice."Headset" {
                cset "name='Headset Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},6"
+       }
 }
index 1fbe74c99df7557a619023e344aacd7a6ccf55e5..e88d6c3a86ecaa867131230b747f410f9c92587a 100644 (file)
@@ -18,10 +18,9 @@ SectionVerb {
                 cset "name='Capture Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        Value {
                TQ "Music"
-               CapturePCM "hw:${CardId},0"
        }
 
 }
@@ -40,4 +39,9 @@ SectionDevice."Headset" {
                 cset "name='Analog Right Capture Route' 3"
                 cset "name='Capture Preamplifier Volume' 0"
        ]
+
+       Value {
+               CapturePriority 100
+               CapturePCM "hw:${CardId}"
+       }
 }
index 42af48a4b517489eea8f8eb9aee12dc31c9335ca..6843cc8f3eb2ce31adcb5a8b2aa0e055a28c9e01 100644 (file)
@@ -18,10 +18,9 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        Value {
                TQ "Voice"
-               PlaybackPCM "hw:${CardId},2"
        }
 }
 
@@ -39,4 +38,9 @@ SectionDevice."Headset" {
                cset "name='Headset Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
+
+       Value {
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},2"
+       }
 }
index c20bf5cbb2b6c7279128c7e0d10f3412086691a6..9a8099ef5317461cb33212f24e22f34547d478d3 100644 (file)
@@ -31,11 +31,9 @@ SectionVerb {
                 cset "name='SDT DL Volume' 0"
        ]
 
-       # Optional TQ and ALSA PCMs
+       # Optional TQ
        Value {
                TQ "Voice"
-                CapturePCM "hw:${CardId},2"
-               PlaybackPCM "hw:${CardId},2"
        }
 }
 
@@ -59,5 +57,11 @@ SectionDevice."Headset" {
                cset "name='Headset Left Playback' 0"
                 cset "name='Headset Playback Volume' 0"
        ]
-}
 
+       Value {
+               CapturePriority 100
+                CapturePCM "hw:${CardId},2"
+               PlaybackPriority 100
+               PlaybackPCM "hw:${CardId},2"
+       }
+}