# Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
SectionVerb {
-
- # ALSA PCM
Value {
- # ALSA PCM device for HiFi
- PlaybackPCM "plughw:${CardId},1"
- CapturePCM "plughw:${CardId},2"
- PlaybackChannels "2"
- CaptureChannels "2"
+ PlaybackChannels 2
+ CaptureChannels 2
}
}
cset "name='SPK DAC Switch' 0"
cset "name='RX3 MIX1 INP1' ZERO"
]
+
+ Value {
+ PlaybackPriority 200
+ PlaybackPCM "plughw:${CardId},1"
+ }
}
cset "name='RX1 MIX1 INP1' ZERO"
cset "name='RX2 MIX1 INP1' ZERO"
]
+
+ Value {
+ PlaybackPriority 300
+ PlaybackPCM "plughw:${CardId},1"
+ }
}
SectionDevice."Earpiece" {
"Speaker"
"Headphones"
]
+
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "plughw:${CardId},1"
+ }
}
SectionDevice."Handset" {
cset "name='ADC2 Volume' 0"
cset "name='DEC1 MUX' ZERO"
]
+
+ Value {
+ CapturePriority 400
+ CapturePCM "plughw:${CardId},2"
+ }
}
-SectionDevice."PrimaryMic" {
+SectionDevice."Mic1" {
Comment "Primary Microphone"
EnableSequence [
cset "name='DEC1 MUX' ZERO"
cset "name='ADC1 Volume' 0"
]
+
+ Value {
+ CapturePriority 300
+ CapturePCM "plughw:${CardId},2"
+ }
}
-SectionDevice."SecondaryMic" {
+SectionDevice."Mic2" {
Comment "Secondary Microphone"
EnableSequence [
cset "name='ADC2 Volume' 0"
cset "name='ADC2 MUX' ZERO"
]
+
+ Value {
+ CapturePriority 200
+ CapturePCM "plughw:${CardId},2"
+ }
}
-SectionDevice."DigitalMic" {
+SectionDevice."Mic3" {
Comment "Digital Microphone"
EnableSequence [
DisableSequence [
cset "name='DEC1 MUX' ZERO"
]
+
+ Value {
+ CapturePriority 100
+ CapturePCM "plughw:${CardId},2"
+ }
}