]
}
+SectionDevice."Speakers" {
+ Comment = "Speakers"
+
+ ConflictingDevice [
+ "Headphones"
+ ]
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackVolume "Speaker Volume"
+ }
+ EnableSequence [
+ cset "name='Speakers Switch' on"
+ cset "name='Headphones Switch' off"
+ ]
+ DisableSequence [
+ cset "name='Headphones Switch' on"
+ cset "name='Speakers Switch' off"
+ ]
+}
+
SectionDevice."Headphones" {
+ Comment = "Headphones"
+
+ ConflictingDevice [
+ "Speakers"
+ ]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
+ PlaybackVolume "Headphone Volume"
+ JackControl "Headphone Jack"
}
EnableSequence [
cset "name='Speakers Switch' off"
]
}
-SectionDevice."Mic" {
+SectionDevice."InternalMicrophone" {
+ Comment "Internal Microphone"
+
+ ConflictingDevice [
+ "HeadsetMicrophone"
+ ]
+
+ EnableSequence [
+ cset "name='Int Mic Switch' on"
+ cset "name='Mic Jack Switch' off"
+ cset "name='DMIC Mux' DMIC"
+ ]
+
+ DisableSequence [
+ cset "name='Int Mic Switch' off"
+ cset "name='Mic Jack Switch' on"
+ cset "name='DMIC Mux' ADC"
+ ]
+
+ Value {
+ CapturePCM "hw:${CardId}"
+ CaptureChannels 2
+ CaptureVolume "MIC2 Volume"
+ }
+}
+
+SectionDevice."HeadsetMicrophone" {
+ Comment = "Headset Microphone"
+
+ ConflictingDevice [
+ "InternalMicrophone"
+ ]
+
Value {
CapturePriority 100
CapturePCM "hw:${CardId}"
#CaptureControl "MIC2"
+ JackControl "Mic Jack"
}
EnableSequence [
cset "name='Int Mic Switch' off"
cset "name='DMIC Mux' ADC"
cset "name='Mic Jack Switch' on"
- cset "name='Record Path DC Blocking' on"
]
DisableSequence [
cset "name='Mic Jack Switch' off"
cset "name='DMIC Mux' DMIC"
cset "name='Int Mic Switch' on"
- cset "name='Record Path DC Blocking' off"
]
}