59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
SectionDevice."Mic" {
|
|
Comment "Internal Microphone on IN1"
|
|
|
|
If.have-headset {
|
|
Condition {
|
|
Type String
|
|
Empty "${var:HaveHeadsetMic}"
|
|
}
|
|
False {
|
|
ConflictingDevice [
|
|
"Headset"
|
|
]
|
|
}
|
|
}
|
|
|
|
EnableSequence [
|
|
cset "name='RECMIXL BST1 Switch' on"
|
|
cset "name='RECMIXR BST1 Switch' on"
|
|
|
|
cset "name='Stereo ADC MIXL ADC1 Switch' on"
|
|
cset "name='Stereo ADC MIXR ADC1 Switch' on"
|
|
cset "name='Mono ADC MIXL ADC1 Switch' on"
|
|
cset "name='Mono ADC MIXR ADC1 Switch' on"
|
|
]
|
|
|
|
DisableSequence [
|
|
cset "name='Stereo ADC MIXL ADC1 Switch' off"
|
|
cset "name='Stereo ADC MIXR ADC1 Switch' off"
|
|
cset "name='Mono ADC MIXL ADC1 Switch' off"
|
|
cset "name='Mono ADC MIXR ADC1 Switch' off"
|
|
|
|
cset "name='RECMIXL BST1 Switch' off"
|
|
cset "name='RECMIXR BST1 Switch' off"
|
|
]
|
|
|
|
Value {
|
|
CapturePriority 100
|
|
CapturePCM "hw:${CardId}"
|
|
CaptureMixerElem "IN1 Boost"
|
|
CaptureVolume "IN1 Boost"
|
|
If.In1Aif1 {
|
|
Condition {
|
|
Type String
|
|
String1 "${var:HaveAif}"
|
|
String2 "1"
|
|
}
|
|
True.CaptureMasterElem "ADC"
|
|
}
|
|
If.In1Aif2 {
|
|
Condition {
|
|
Type String
|
|
String1 "${var:HaveAif}"
|
|
String2 "2"
|
|
}
|
|
True.CaptureMasterElem "Mono ADC"
|
|
}
|
|
}
|
|
}
|