# Master file for snd_soc_msm TI-TLV3104 audio codec (LTENAD)
# Lists all use case verbs

SectionUseCase."Voice Call" {
Comment "Voice Call use case"
SectionVerb
	Name "Voice Call"

	EnableSequence
		'PRI_MI2S_RX_Voice Mixer CSVoice':1:1
		'Voice_Tx Mixer PRI_MI2S_TX_Voice':1:1
		'PRI_MI2S_RX_Voice Mixer VoLTE':1:1
		'VoLTE_Tx Mixer PRI_MI2S_TX_VoLTE':1:1
		'PRI_MI2S_RX Audio Mixer MultiMedia1':1:1
		'MultiMedia1 Mixer PRI_MI2S_TX':1:1
	EndSequence

	DisableSequence
		'PRI_MI2S_RX_Voice Mixer CSVoice':1:0
		'Voice_Tx Mixer PRI_MI2S_TX_Voice':1:0
		'PRI_MI2S_RX_Voice Mixer VoLTE':1:0
		'VoLTE_Tx Mixer PRI_MI2S_TX_VoLTE':1:0
		'PRI_MI2S_RX Audio Mixer MultiMedia1':1:0
		'MultiMedia1 Mixer PRI_MI2S_TX':1:0
	EndSequence

	# ALSA PCMs
	PlaybackPCM 2
	CapturePCM 2

EndSection
}

SectionUseCase."Voice Call IP" {
Comment "VOIP Call use case"
SectionVerb
	Name "Voice Call IP"

	EnableSequence
		'AFE_PCM_RX_Voice Mixer CSVoice':1:1
		'Voice_Tx Mixer AFE_PCM_TX_Voice':1:1
		'AFE_PCM_RX_Voice Mixer VoLTE':1:1
		'VoLTE_Tx Mixer AFE_PCM_TX_VoLTE':1:1
	EndSequence

	DisableSequence
		'AFE_PCM_RX_Voice Mixer CSVoice':1:0
		'Voice_Tx Mixer AFE_PCM_TX_Voice':1:0
		'AFE_PCM_RX_Voice Mixer VoLTE':1:0
		'VoLTE_Tx Mixer AFE_PCM_TX_VoLTE':1:0
	EndSequence

	# ALSA PCMs
	PlaybackPCM 5
	CapturePCM 6

EndSection
}

SectionUseCase."HiFi" {
Comment "Music playback use case"
SectionVerb
	Name "HiFi"

	EnableSequence
		'PRI_MI2S_RX Audio Mixer MultiMedia1':1:1
		'MultiMedia1 Mixer PRI_MI2S_TX':1:1
	EndSequence

	DisableSequence
		'PRI_MI2S_RX Audio Mixer MultiMedia1':1:0
		'MultiMedia1 Mixer PRI_MI2S_TX':1:0
	EndSequence

	# ALSA PCMs
	CapturePCM 0
	PlaybackPCM 0

EndSection
}

SectionDevice
	Name "Speaker"
	Comment "Speaker Rx device"

	EnableSequence
	EndSequence

	DisableSequence
	EndSequence

	ACDBID	14:1
	EffectsMixerCTL "SRS TruMedia"
EndSection

SectionDevice
	Name "Line"
	Comment "Speaker Tx device"

	EnableSequence
	EndSequence

	DisableSequence
	EndSequence

	ACDBID	11:2
	EffectsMixerCTL "SRS TruMedia"
EndSection


SectionDevice
	Name "PROXY Rx"
	Comment "PROXY Rx device"

	EnableSequence
	EndSequence

	DisableSequence
	EndSequence

	ACDBID	7:1
	EffectsMixerCTL "SRS TruMedia"
EndSection

SectionDevice
	Name "PROXY Tx"
	Comment "PROXY Tx device"

	EnableSequence
	EndSequence

	DisableSequence
	EndSequence

	ACDBID	4:2
	EffectsMixerCTL "SRS TruMedia"
EndSection

SectionDevice
	Name "SpeakerExt"
	Comment "Analog Interface to ext. Speaker, int. AEC on"

	EnableSequence
	EndSequence

	DisableSequence
	EndSequence

	ACDBID	8:1
	EffectsMixerCTL "SRS TruMedia"
EndSection

SectionDevice
	Name "LineExt"
	Comment "Line Interface for Mix with Analog Interface to ext. Speaker, int. AEC on"

	EnableSequence
	EndSequence

	DisableSequence
	EndSequence

	ACDBID	5:2
	EffectsMixerCTL "SRS TruMedia"
EndSection

# End of master file
