Syntax 3

SectionUseCase."HiFi" {
	File "/Rockchip/es8388/HiFi.conf"
	Comment "Play HiFi quality Music"
}

BootSequence [
	# Disable all outputs
	cset "name='Speaker Switch' off"

	# Set Route to Stereo
	cset "name='Route' Stereo"

	# Set vol to 0 dB (28/32)
	cset "name='Output 1 Playback Volume' 28"
	cset "name='Output 2 Playback Volume' 28"
	# Set mixer vol to 0 dB
	cset "name='Left Mixer Left Bypass Volume' 6"
	cset "name='Left Mixer Right Bypass Volume' 6"
	cset "name='Right Mixer Left Bypass Volume' 6"
	cset "name='Right Mixer Right Bypass Volume' 6"
	# Set DAC vol to 0 dB (192/192)
	cset "name='PCM Volume' 192"

	cset "name='Capture ZC Switch' off"
	cset "name='DAC Deemphasis Switch' off"
	# Set ADC vol to 0 dB (192/192)
	cset "name='Capture Digital Volume' 192"
	# Set Mic amplifier to +15 dB
	cset "name='Mic PGA Volume' 5"

	# Set Line Muxes to PGA
	cset "name='Left Line Mux' PGA"
	cset "name='Right Line Mux' PGA"

	# Set PGA Muxes to Differential
	cset "name='Left PGA Mux' Differential"
	cset "name='Right PGA Mux' Differential"

	# Setup muxes / switches
	cset "name='Left Mixer Playback Switch' on"
	cset "name='Right Mixer Playback Switch' on"
]
