]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
Dell-WD15-Dock: adapt to ucm2
authorJaroslav Kysela <perex@perex.cz>
Sun, 10 Nov 2019 20:12:53 +0000 (21:12 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 11 Nov 2019 11:51:01 +0000 (12:51 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Dell-WD15-Dock/Dell-WD15-Dock.conf [moved from ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf with 92% similarity]
ucm2/Dell-WD15-Dock/HiFi.conf [moved from ucm/Dell-WD15-Dock/HiFi.conf with 73% similarity]

similarity index 92%
rename from ucm/Dell-WD15-Dock/Dell-WD15-Dock.conf
rename to ucm2/Dell-WD15-Dock/Dell-WD15-Dock.conf
index f4f0a8d97e73057f308dc9b270ff7a363baf8bc8..7b96a54249bc20e46b95697771f0889375c100de 100644 (file)
@@ -1,3 +1,4 @@
+Syntax 2
 Comment "USB-audio on Dell WD15 docking station"
 SectionUseCase."HiFi" {
        File "HiFi.conf"
similarity index 73%
rename from ucm/Dell-WD15-Dock/HiFi.conf
rename to ucm2/Dell-WD15-Dock/HiFi.conf
index 1b6bd21237f1cf581180289ab644fbe070a2a9ac..ab9e14cc1fbaed0d4884d194ce10ad6eacf0c167 100644 (file)
@@ -3,7 +3,7 @@ SectionDevice."Headphone" {
 
        Value {
                PlaybackChannels "2"
-               PlaybackPCM "hw:Dock,0"
+               PlaybackPCM "hw:${CardId},0"
        }
 }
 
@@ -12,7 +12,7 @@ SectionDevice."LineOut" {
 
        Value {
                PlaybackChannels "2"
-               PlaybackPCM "hw:Dock,1"
+               PlaybackPCM "hw:${CardId},1"
        }
 }
 
@@ -21,6 +21,6 @@ SectionDevice."Mic" {
 
        Value {
                CaptureChannels "2"
-               CapturePCM "hw:Dock,0"
+               CapturePCM "hw:${CardId},0"
        }
 }