普通文本  |  143行  |  4.85 KB

SectionVerb {
	EnableSequence [
		cdev "hw:DAISYI2S"

		cset "name='Headphone Volume' 13"
		cset "name='Speaker Volume' 16"
		cset "name='Headphone Switch' off"
		cset "name='Speaker Switch' on"
		cset "name='Receiver Switch' on"
		cset "name='Lineout Switch' on"
		cset "name='MIC1 Volume' 20"
		cset "name='MIC2 Volume' 20"
		cset "name='MIC1 Boost Volume' 0"
		cset "name='MIC2 Boost Volume' 1"
		cset "name='Linein Volume' 5"
		cset "name='ADCL Volume' 15"
		cset "name='ADCR Volume' 15"
		cset "name='ADCL Boost Volume' 0"
		cset "name='ADCR Boost Volume' 0"
		cset "name='EQ1 Mode' Default"
		cset "name='EQ1 Switch' on"
		cset "name='EQ2 Switch' off"
		cset "name='Biquad1 Switch' off"
		cset "name='Biquad2 Switch' off"
		cset "name='DMIC1 Left Capture Switch' on"
		cset "name='DMIC1 Right Capture Switch' on"
		cset "name='MIC1 External Mic Switch' off"
		cset "name='MIC2 External Mic Switch' on"
		cset "name='DAI2 Filter Mode' Voice"
		cset "name='DAI1 DAC Filter' Off"
		cset "name='DAI1 Filter Mode' Music"
		cset "name='DAI2 DAC Filter' Off"
		cset "name='DAI3 DAC Filter' Off"
		cset "name='Linein Mode' Stereo"
		cset "name='Lineout Mode' Stereo"
		cset "name='Right ADC Mixer MIC1 Switch' off"
		cset "name='Right ADC Mixer MIC2 Switch' on"
		cset "name='Right ADC Mixer IN1 Switch' off"
		cset "name='Right ADC Mixer IN2 Switch' off"
		cset "name='Left ADC Mixer MIC1 Switch' off"
		cset "name='Left ADC Mixer MIC2 Switch' on"
		cset "name='Left ADC Mixer IN1 Switch' off"
		cset "name='Left ADC Mixer IN2 Switch' off"
		cset "name='Right Lineout Mixer Left DAC1 Switch' off"
		cset "name='Right Lineout Mixer Right DAC1 Switch' off"
		cset "name='Right Lineout Mixer MIC1 Switch' off"
		cset "name='Right Lineout Mixer MIC2 Switch' off"
		cset "name='Right Lineout Mixer IN1 Switch' off"
		cset "name='Right Lineout Mixer IN2 Switch' off"
		cset "name='Left Lineout Mixer Left DAC1 Switch' off"
		cset "name='Left Lineout Mixer Right DAC1 Switch' off"
		cset "name='Left Lineout Mixer MIC1 Switch' off"
		cset "name='Left Lineout Mixer MIC2 Switch' off"
		cset "name='Left Lineout Mixer IN1 Switch' off"
		cset "name='Left Lineout Mixer IN2 Switch' off"
		cset "name='Receiver Mixer Left DAC1 Switch' off"
		cset "name='Receiver Mixer Right DAC1 Switch' off"
		cset "name='Receiver Mixer MIC1 Switch' off"
		cset "name='Receiver Mixer MIC2 Switch' off"
		cset "name='Receiver Mixer IN1 Switch' off"
		cset "name='Receiver Mixer IN2 Switch' off"
		cset "name='Right Speaker Mixer Left DAC1 Switch' off"
		cset "name='Right Speaker Mixer Right DAC1 Switch' on"
		cset "name='Right Speaker Mixer Mono DAC2 Switch' off"
		cset "name='Right Speaker Mixer Mono DAC3 Switch' off"
		cset "name='Left Speaker Mixer Left DAC1 Switch' on"
		cset "name='Left Speaker Mixer Right DAC1 Switch' off"
		cset "name='Left Speaker Mixer Mono DAC2 Switch' off"
		cset "name='Left Speaker Mixer Mono DAC3 Switch' off"
		cset "name='Right Headphone Mixer Left DAC1 Switch' off"
		cset "name='Right Headphone Mixer Right DAC1 Switch' on"
		cset "name='Right Headphone Mixer MIC1 Switch' off"
		cset "name='Right Headphone Mixer MIC2 Switch' off"
		cset "name='Right Headphone Mixer IN1 Switch' off"
		cset "name='Right Headphone Mixer IN2 Switch' off"
		cset "name='Left Headphone Mixer Left DAC1 Switch' on"
		cset "name='Left Headphone Mixer Right DAC1 Switch' off"
		cset "name='Left Headphone Mixer MIC1 Switch' off"
		cset "name='Left Headphone Mixer MIC2 Switch' off"
		cset "name='Left Headphone Mixer IN1 Switch' off"
		cset "name='Left Headphone Mixer IN2 Switch' off"
		cset "name='Linein Mux' INA"
		cset "name='External MIC' MIC2"
		cset "name='HDMI Playback Switch' off"
	]
	DisableSequence [
	]
}

SectionDevice."HDMI".0 {
	Value {
		JackName "DAISY-I2S HDMI Jack"
		EDIDFile "/sys/devices/platform/exynos-drm/drm/card1/card1-HDMI-A-1/edid"
	}
}

SectionDevice."Headphone".0 {
	Value {
		JackName "DAISY-I2S Headphone Jack"
	}

	EnableSequence [
		cdev "hw:DAISYI2S"
		cset "name='EQ1 Switch' off"
		cset "name='Speaker Switch' off"
		cset "name='Left Headphone Mixer Left DAC1 Switch' on"
		cset "name='Right Headphone Mixer Right DAC1 Switch' on"
	]
	DisableSequence [
		cdev "hw:DAISYI2S"
		cset "name='EQ1 Mode' Default"
		cset "name='EQ1 Switch' on"
		cset "name='Left Speaker Mixer Left DAC1 Switch' on"
		cset "name='Right Speaker Mixer Right DAC1 Switch' on"
	]
}

SectionDevice."Mic".0 {
	Value {
		JackName "DAISY-I2S Mic Jack"
		CaptureControl "MIC2"
		DefaultNodeGain "-500"
	}

	EnableSequence [
		cdev "hw:DAISYI2S"

		cset "name='DMIC1 Left Capture Switch' off"
		cset "name='DMIC1 Right Capture Switch' off"
		cset "name='Left ADC Mixer MIC2 Switch' on"
		cset "name='Right ADC Mixer MIC2 Switch' on"
	]

	DisableSequence [
		cdev "hw:DAISYI2S"

		cset "name='Left ADC Mixer MIC2 Switch' off"
		cset "name='Right ADC Mixer MIC2 Switch' off"
		cset "name='DMIC1 Left Capture Switch' on"
		cset "name='DMIC1 Right Capture Switch' on"
	]
}