+SectionVerb {
+ EnableSequence [
+ cset "name='Speakers Switch' off"
+ cset "name='Headphones Switch' off"
+ cset "name='Mic Jack Switch' off"
+ cset "name='Int Mic Switch' off"
+ ]
+}
+
SectionDevice."Speakers" {
Comment = "Speakers"
ConflictingDevice [
"Headphones"
]
- Value {
- PlaybackPriority 100
- PlaybackPCM "hw:${CardId}"
- PlaybackVolume "Speaker Volume"
- }
+
EnableSequence [
cset "name='Speakers Switch' on"
]
+
DisableSequence [
cset "name='Speakers Switch' off"
]
+
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackVolume "Speaker Volume"
+ }
}
SectionDevice."Headphones" {
ConflictingDevice [
"Speakers"
]
- Value {
- PlaybackPriority 100
- PlaybackPCM "hw:${CardId}"
- PlaybackVolume "Headphone Volume"
- JackControl "Headphone Jack"
- }
+
EnableSequence [
cset "name='Headphones Switch' on"
]
+
DisableSequence [
cset "name='Headphones Switch' off"
]
+
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
+ PlaybackVolume "Headphone Volume"
+ JackControl "Headphone Jack"
+ }
+
}
-SectionDevice."InternalMicrophone" {
+SectionDevice."Mic" {
Comment "Internal Microphone"
- ConflictingDevice [
- "HeadsetMicrophone"
- ]
-
EnableSequence [
cset "name='Int Mic Switch' on"
cset "name='DMIC Mux' DMIC"
}
}
-SectionDevice."HeadsetMicrophone" {
+SectionDevice."Headset" {
Comment = "Headset Microphone"
ConflictingDevice [
- "InternalMicrophone"
+ "Mic"
]
- Value {
- CapturePriority 100
- CapturePCM "hw:${CardId}"
- #CaptureControl "MIC2"
- JackControl "Mic Jack"
- }
EnableSequence [
cset "name='Mic Jack Switch' on"
cset "name='DMIC Mux' ADC"
]
+
DisableSequence [
cset "name='Mic Jack Switch' off"
cset "name='DMIC Mux' DMIC"
]
-}
\ No newline at end of file
+
+ Value {
+ CapturePriority 100
+ CapturePCM "hw:${CardId}"
+ #CaptureControl "MIC2"
+ JackControl "Mic Jack"
+ }
+}