HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //proc/thread-self/root/usr/share/alsa/ucm2/codecs/rt5640/IN3-InternalMic.conf
SectionDevice."Mic" {
	Comment "Internal Microphone on IN3"

	If.have-headset {
		Condition {
			Type String
			Empty "${var:HaveHeadsetMic}"
		}
		False {
			ConflictingDevice [
				"Headset"
			]
		}
	}

	EnableSequence [
		cset "name='RECMIXL BST3 Switch' on"
		cset "name='RECMIXR BST3 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 BST3 Switch' off"
		cset "name='RECMIXR BST3 Switch' off"
	]

	Value {
		CapturePriority 100
		CapturePCM "hw:${CardId}"
		CaptureMixerElem "IN3 Boost"
		CaptureVolume "IN3 Boost"
		If.In3Aif1 {
			Condition {
				Type String
				String1 "${var:HaveAif}"
				String2 "1"
			}
			True.CaptureMasterElem "ADC"
		}
		If.In3Aif2 {
			Condition {
				Type String
				String1 "${var:HaveAif}"
				String2 "2"
			}
			True.CaptureMasterElem "Mono ADC"
		}
	}
}