pmaports/device/testing/device-jolla-sbj/ucm/HiFi.conf

207 lines
5.6 KiB
Text
Raw Normal View History

2021-05-15 08:05:30 +00:00
SectionVerb {
EnableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='RX1 Digital Volume' 60"
cset "name='RX2 Digital Volume' 60"
cset "name='RX3 Digital Volume' 60"
cset "name='HPHL Volume' 0"
cset "name='HPHR Volume' 0"
cset "name='ADC1 Volume' 3"
cset "name='ADC2 Volume' 3"
cset "name='ADC3 Volume' 3"
cset "name='SLIM_0_RX Channels' One"
cset "name='RX1 MIX1 INP1' ZERO"
cset "name='RX2 MIX1 INP1' ZERO"
cset "name='RX3 MIX1 INP1' ZERO"
cset "name='DAC1 MUX' ZERO"
cset "name='DAC2 MUX' ZERO"
cset "name='DAC3 MUX' ZERO"
cset "name='DAC4 MUX' ZERO"
cset "name='MICBIAS1 CAPLESS Switch' 0"
cset "name='TX1 HPF Switch' 1"
cset "name='Voice_Tx Mixer SLIM_0_TX_Voice' 0"
cset "name='SLIM_0_RX_Voice Mixer CSVoice' 0"
cset "name='SLIM TX1 MUX' ZERO"
cset "name='SLIM TX5 MUX' ZERO"
cset "name='DEC1 MUX' ZERO"
cset "name='DEC2 MUX' ZERO"
cset "name='DAC1 Switch' 1"
cset "name='SLIM_0_TX Channels' One"
]
Value {
TQ "HiFi"
PlaybackPCM "hw:msm8930sitarsnd,0"
CapturePCM "hw:msm8930sitarsnd,0"
}
}
SectionDevice."Speaker" {
Comment "Internal speaker"
ConflictingDevice [
"Headphones"
"Handset"
]
EnableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='RX1 MIX1 INP1' RX1"
cset "name='DAC2 MUX' RX1"
cset "name='DAC3 MUX' INV_RX1"
cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' on"
]
DisableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' off"
]
Value {
PlaybackChannels "2"
PlaybackPriority 300
PlaybackVolume "RX1 Digital Volume"
}
}
SectionDevice."Headphones" {
Comment "Headset"
ConflictingDevice [
"Speaker"
"Handset"
]
EnableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='HPHL Volume' 6"
cset "name='HPHR Volume' 6"
cset "name='SLIM_0_RX Channels' Two"
cset "name='RX2 MIX1 INP1' RX1"
cset "name='RX3 MIX1 INP1' RX2"
cset "name='DAC4 MUX' ON"
cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' on"
]
DisableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' off"
]
Value {
PlaybackChannels "2"
PlaybackPriority 100
PlaybackVolume "RX3 Digital Volume"
}
}
SectionDevice."Handset" {
Comment "Earpiece Speaker"
ConflictingDevice [
"Headphones"
"Speaker"
]
EnableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='MICBIAS1 CAPLESS Switch' 1"
cset "name='TX1 HPF Switch' 0"
cset "name='Voice_Tx Mixer SLIM_0_TX_Voice' 1"
cset "name='SLIM_0_RX_Voice Mixer CSVoice' 1"
cset "name='SLIM TX1 MUX' DEC1"
cset "name='SLIM TX5 MUX' DEC2"
cset "name='DEC1 MUX' ADC1"
cset "name='DEC2 MUX' ADC3"
cset "name='DAC1 MUX' RX1"
cset "name='DAC1 Switch' 1"
cset "name='SLIM_0_TX Channels' Two"
cset "name='RX1 MIX1 INP1' RX1"
]
DisableSequence [
cdev "hw:msm8930sitarsnd"
]
Value {
PlaybackChannels "2"
PlaybackPriority 300
PlaybackVolume "RX1 Digital Volume"
}
}
SectionDevice."SpeakerMic" {
Comment "Internal Microphone"
ConflictingDevice [
"HeadsetMic"
]
EnableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='DEC1 MUX' ADC3"
cset "name='SLIM TX1 MUX' DEC1"
cset "name='MICBIAS1 CAPLESS Switch' 1"
cset "name='TX1 HPF Switch' 0"
cset "name='EC_REF_RX' 0"
cset "name='SLIM_0_RX Channels' Two"
cset "name='MultiMedia1 Mixer SLIM_0_TX' 1"
]
DisableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='MultiMedia1 Mixer SLIM_0_TX' 0"
]
Value {
CapturePriority 500
CaptureChannels "2"
}
}
SectionDevice."HeadsetMic" {
Comment "Headset Microphone"
ConflictingDevice [
"SpeakerMic"
]
EnableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='ADC2 Volume' 3"
cset "name='DEC1 MUX' ADC2"
cset "name='SLIM TX1 MUX' DEC1"
cset "name='TX1 HPF Switch' 0"
cset "name='SLIM_0_RX Channels' Two"
cset "name='MultiMedia1 Mixer SLIM_0_TX' 1"
]
DisableSequence [
cdev "hw:msm8930sitarsnd"
cset "name='MultiMedia1 Mixer SLIM_0_TX' 01"
]
Value {
CapturePriority 100
CaptureChannels "2"
}
}