ucm: fix SectionDevice identifiers
According [1], the device naming scheme should be consistent. Try to rename affected device names according the documentation. [1] https://github.com/alsa-project/alsa-lib/blob/master/include/use-case.h Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
247fbc0820
commit
ea7a065a7b
12 changed files with 25 additions and 26 deletions
|
|
@ -1,4 +1,4 @@
|
|||
SectionDevice."Headphone" {
|
||||
SectionDevice."Headphones" {
|
||||
Comment "Headphones"
|
||||
|
||||
Value {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SectionDevice."Headphone" {
|
||||
SectionDevice."Headphones" {
|
||||
Comment "Headphones"
|
||||
|
||||
Value {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ SectionDevice."Speaker" {
|
|||
Comment "Speaker"
|
||||
|
||||
ConflictingDevice [
|
||||
"Lineout"
|
||||
"Line"
|
||||
]
|
||||
|
||||
EnableSequence [
|
||||
|
|
@ -25,7 +25,7 @@ SectionDevice."Speaker" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Lineout" {
|
||||
SectionDevice."Line" {
|
||||
Comment "Lineout"
|
||||
|
||||
ConflictingDevice [
|
||||
|
|
|
|||
|
|
@ -67,8 +67,8 @@ SectionDevice."Mic" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."DMic01" {
|
||||
Comment "DMic01"
|
||||
SectionDevice."Mic" {
|
||||
Comment "Microphone"
|
||||
|
||||
Include.vadm0e.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf"
|
||||
Include.vadm0d.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf"
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ SectionDevice."Headphones" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Bottom" {
|
||||
SectionDevice."Mic1" {
|
||||
Comment "Bottom Microphone"
|
||||
|
||||
Include.wcdmice.File "/codecs/wcd939x/AnalogMic1EnableSeq.conf"
|
||||
|
|
@ -82,7 +82,7 @@ SectionDevice."Headset" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Back" {
|
||||
SectionDevice."Mic2" {
|
||||
Comment "Back Microphone"
|
||||
|
||||
Include.wcdmice.File "/codecs/wcd939x/AnalogMic4EnableSeq.conf"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ SectionVerb {
|
|||
]
|
||||
}
|
||||
|
||||
SectionDevice."Speakers" {
|
||||
SectionDevice."Speaker" {
|
||||
Comment = "Speakers"
|
||||
|
||||
ConflictingDevice [
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ SectionVerb {
|
|||
]
|
||||
}
|
||||
|
||||
SectionDevice."Speakers" {
|
||||
SectionDevice."Speaker" {
|
||||
Comment "Speakers"
|
||||
|
||||
ConflictingDevice [
|
||||
|
|
@ -70,7 +70,7 @@ SectionDevice."Headphones" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."InternalMic" {
|
||||
SectionDevice."Mic" {
|
||||
Comment "Internal Microphone"
|
||||
|
||||
ConflictingDevice [
|
||||
|
|
@ -91,7 +91,7 @@ SectionDevice."InternalMic" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."HeadsetMic" {
|
||||
SectionDevice."Headset" {
|
||||
Comment "Headset Microphone"
|
||||
|
||||
ConflictingDevice [
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ Macro [
|
|||
}
|
||||
]
|
||||
|
||||
SectionDevice."PrimaryOut" {
|
||||
SectionDevice."Line1" {
|
||||
Comment "Music Playback"
|
||||
|
||||
Value {
|
||||
|
|
@ -45,7 +45,7 @@ SectionDevice."PrimaryOut" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."SecondaryOut" {
|
||||
SectionDevice."Line2" {
|
||||
Comment "DI Playback"
|
||||
|
||||
Value {
|
||||
|
|
@ -63,7 +63,7 @@ SectionDevice."SecondaryOut" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."PrimaryIn" {
|
||||
SectionDevice."Line3" {
|
||||
Comment "Processed Signal"
|
||||
|
||||
Value {
|
||||
|
|
@ -81,7 +81,7 @@ SectionDevice."PrimaryIn" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."SecondaryIn" {
|
||||
SectionDevice."Line4" {
|
||||
Comment "DI Capture"
|
||||
|
||||
Value {
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ SectionDevice."Line8" {
|
|||
}
|
||||
|
||||
|
||||
SectionDevice."Line56" {
|
||||
SectionDevice."Line9" {
|
||||
Comment "Line-56 L/R"
|
||||
|
||||
Value {
|
||||
|
|
@ -252,7 +252,7 @@ SectionDevice."Line56" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Line78" {
|
||||
SectionDevice."Line10" {
|
||||
Comment "Line-78 L/R"
|
||||
|
||||
Value {
|
||||
|
|
@ -270,7 +270,7 @@ SectionDevice."Line78" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."LineMaster" {
|
||||
SectionDevice."Line11" {
|
||||
Comment "Master/Monitor L/R"
|
||||
|
||||
Value {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ SectionDevice."Headphones" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Microphone" {
|
||||
SectionDevice."Mic" {
|
||||
Comment "Microphone"
|
||||
|
||||
Value {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ SectionDevice."Line1" {
|
|||
}
|
||||
|
||||
|
||||
SectionDevice."line2SPDIF" {
|
||||
SectionDevice."Line2" {
|
||||
Comment "SPDIF Out"
|
||||
Value {
|
||||
PlaybackPriority 100
|
||||
|
|
@ -75,7 +75,7 @@ SectionDevice."line2SPDIF" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."mic1" {
|
||||
SectionDevice."Mic1" {
|
||||
Comment "Mic/Line 1"
|
||||
|
||||
Value {
|
||||
|
|
@ -91,7 +91,7 @@ SectionDevice."mic1" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."mic2" {
|
||||
SectionDevice."Mic2" {
|
||||
Comment "Mic/Line 2"
|
||||
|
||||
Value {
|
||||
|
|
@ -107,7 +107,7 @@ SectionDevice."mic2" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."mic3SPDIF" {
|
||||
SectionDevice."Mic3" {
|
||||
Comment "SPDIF In"
|
||||
|
||||
Value {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ SectionDevice."Line" {
|
|||
}
|
||||
}
|
||||
|
||||
SectionDevice."Headphone" {
|
||||
SectionDevice."Headphones" {
|
||||
Comment "Headphone Out"
|
||||
Value {
|
||||
PlaybackPriority 100
|
||||
|
|
@ -49,4 +49,3 @@ SectionDevice."Headphone" {
|
|||
ChannelPos1 FR
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue