diff options
author | Jaroslav Kysela <perex@perex.cz> | 2020-02-04 17:48:10 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2020-02-05 13:17:24 +0100 |
commit | eed10701463b605ba5b6587d897deff742cbb5a0 (patch) | |
tree | 35b277d4e652ec75e568230e09c64557a83f82da | |
parent | dbf9201ef6cc0008e3d1d10d28490c47689aed0e (diff) |
VEYRON-I2S: corrections and fixes
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | ucm2/VEYRON-I2S/HiFi.conf | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/ucm2/VEYRON-I2S/HiFi.conf b/ucm2/VEYRON-I2S/HiFi.conf index 8d07c73..bed87c5 100644 --- a/ucm2/VEYRON-I2S/HiFi.conf +++ b/ucm2/VEYRON-I2S/HiFi.conf @@ -45,25 +45,31 @@ SectionDevice."Speaker" { Comment "Speaker" Value { - PlaybackPCM "hw:${CardId},0" + PlaybackPriority 100 + PlaybackPCM "hw:${CardId}" } + EnableSequence [ cset "name='Speaker Switch' on" ] + DisableSequence [ cset "name='Speaker Switch' off" ] } -SectionDevice."Internal Mic" { - Comment "Int Mic" +SectionDevice."Mic" { + Comment "Internal Microphone" Value { - CapturePCM "hw:${CardId},0" + CapturePriority 100 + CapturePCM "hw:${CardId}" } + EnableSequence [ cset "name='Int Mic Switch' on" ] + DisableSequence [ cset "name='Int Mic Switch' off" ] @@ -73,7 +79,8 @@ SectionDevice."Headphones" { Comment "Headphones" Value { - PlaybackPCM "hw:${CardId},0" + PlaybackPriority 200 + PlaybackPCM "hw:${CardId}" } EnableSequence [ @@ -88,11 +95,12 @@ SectionDevice."Headphones" { ] } -SectionDevice."Mic" { - Comment "Headset Mic" +SectionDevice."Headset" { + Comment "Headset Microphone" Value { - CapturePCM "hw:${CardId},0" + CapturePriority 200 + CapturePCM "hw:${CardId}" } EnableSequence [ |