pmaports/device/testing/device-xiaomi-elish/alsa-ucm-conf/HiFi.conf
2024-07-19 08:58:17 +02:00

175 lines
5.4 KiB
Text

SectionVerb {
EnableSequence [
cset "name='TLH DSP1 Preload Switch' 1"
cset "name='TLH DRE Switch' 1"
cset "name='TLH PCM Soft Ramp' 4ms"
cset "name='TLH Analog PCM Volume' 18"
cset "name='TLH ASP TX1 Source' DSPTX1"
cset "name='TLH DSP RX1 Source' ASPRX1"
cset "name='TLH DSP RX2 Source' ASPTX2"
cset "name='TLL DSP1 Preload Switch' 1"
cset "name='TLL DRE Switch' 1"
cset "name='TLL PCM Soft Ramp' 4ms"
cset "name='TLL Analog PCM Volume' 18"
cset "name='TLL ASP TX1 Source' DSPTX1"
cset "name='TLL DSP RX1 Source' ASPRX1"
cset "name='TLL DSP RX2 Source' ASPTX2"
cset "name='TRH DSP1 Preload Switch' 1"
cset "name='TRH DRE Switch' 1"
cset "name='TRH PCM Soft Ramp' 4ms"
cset "name='TRH Analog PCM Volume' 18"
cset "name='TRH ASP TX1 Source' DSPTX1"
cset "name='TRH DSP RX1 Source' ASPRX1"
cset "name='TRH DSP RX2 Source' ASPTX2"
cset "name='TRL DSP1 Preload Switch' 1"
cset "name='TRL DRE Switch' 1"
cset "name='TRL PCM Soft Ramp' 4ms"
cset "name='TRL Analog PCM Volume' 18"
cset "name='TRL ASP TX1 Source' DSPTX1"
cset "name='TRL DSP RX1 Source' ASPRX1"
cset "name='TRL DSP RX2 Source' ASPTX2"
cset "name='BLH DSP1 Preload Switch' 1"
cset "name='BLH DRE Switch' 1"
cset "name='BLH PCM Soft Ramp' 4ms"
cset "name='BLH Analog PCM Volume' 18"
cset "name='BLH ASP TX1 Source' DSPTX1"
cset "name='BLH DSP RX1 Source' ASPRX1"
cset "name='BLH DSP RX2 Source' ASPTX2"
cset "name='BLL DSP1 Preload Switch' 1"
cset "name='BLL DRE Switch' 1"
cset "name='BLL PCM Soft Ramp' 4ms"
cset "name='BLL Analog PCM Volume' 18"
cset "name='BLL ASP TX1 Source' DSPTX1"
cset "name='BLL DSP RX1 Source' ASPRX1"
cset "name='BLL DSP RX2 Source' ASPTX2"
cset "name='BRH DSP1 Preload Switch' 1"
cset "name='BRH DRE Switch' 1"
cset "name='BRH PCM Soft Ramp' 4ms"
cset "name='BRH Analog PCM Volume' 18"
cset "name='BRH ASP TX1 Source' DSPTX1"
cset "name='BRH DSP RX1 Source' ASPRX1"
cset "name='BRH DSP RX2 Source' ASPTX2"
cset "name='BRL DSP1 Preload Switch' 1"
cset "name='BRL DRE Switch' 1"
cset "name='BRL PCM Soft Ramp' 4ms"
cset "name='BRL Analog PCM Volume' 18"
cset "name='BRL ASP TX1 Source' DSPTX1"
cset "name='BRL DSP RX1 Source' ASPRX1"
cset "name='BRL DSP RX2 Source' ASPTX2"
cset "name='TERT_TDM_RX_0 Audio Mixer MultiMedia1' 1"
]
DisableSequence [
cset "name='TLH DSP1 Preload Switch' 0"
cset "name='TLH DRE Switch' 0"
cset "name='TLH PCM Soft Ramp' zero"
cset "name='TLH Analog PCM Volume' 0"
cset "name='TLH ASP TX1 Source' zero"
cset "name='TLH DSP RX1 Source' zero"
cset "name='TLH DSP RX2 Source' zero"
cset "name='TLL DSP1 Preload Switch' 0"
cset "name='TLL DRE Switch' 0"
cset "name='TLL PCM Soft Ramp' zero"
cset "name='TLL Analog PCM Volume' 0"
cset "name='TLL ASP TX1 Source' zero"
cset "name='TLL DSP RX1 Source' zero"
cset "name='TLL DSP RX2 Source' zero"
cset "name='TRH DSP1 Preload Switch' 0"
cset "name='TRH DRE Switch' 0"
cset "name='TRH PCM Soft Ramp' zero"
cset "name='TRH Analog PCM Volume' 0"
cset "name='TRH ASP TX1 Source' zero"
cset "name='TRH DSP RX1 Source' zero"
cset "name='TRH DSP RX2 Source' zero"
cset "name='TRL DSP1 Preload Switch' 0"
cset "name='TRL DRE Switch' 0"
cset "name='TRL PCM Soft Ramp' zero"
cset "name='TRL Analog PCM Volume' 0"
cset "name='TRL ASP TX1 Source' zero"
cset "name='TRL DSP RX1 Source' zero"
cset "name='TRL DSP RX2 Source' zero"
cset "name='BLH DSP1 Preload Switch' 0"
cset "name='BLH DRE Switch' 0"
cset "name='BLH PCM Soft Ramp' zero"
cset "name='BLH Analog PCM Volume' 0"
cset "name='BLH ASP TX1 Source' zero"
cset "name='BLH DSP RX1 Source' zero"
cset "name='BLH DSP RX2 Source' zero"
cset "name='BLL DSP1 Preload Switch' 0"
cset "name='BLL DRE Switch' 0"
cset "name='BLL PCM Soft Ramp' zero"
cset "name='BLL Analog PCM Volume' 0"
cset "name='BLL ASP TX1 Source' zero"
cset "name='BLL DSP RX1 Source' zero"
cset "name='BLL DSP RX2 Source' zero"
cset "name='BRH DSP1 Preload Switch' 0"
cset "name='BRH DRE Switch' 0"
cset "name='BRH PCM Soft Ramp' zero"
cset "name='BRH Analog PCM Volume' 0"
cset "name='BRH ASP TX1 Source' zero"
cset "name='BRH DSP RX1 Source' zero"
cset "name='BRH DSP RX2 Source' zero"
cset "name='BRL DSP1 Preload Switch' 0"
cset "name='BRL DRE Switch' 0"
cset "name='BRL PCM Soft Ramp' zero"
cset "name='BRL Analog PCM Volume' 0"
cset "name='BRL ASP TX1 Source' zero"
cset "name='BRL DSP RX1 Source' zero"
cset "name='BRL DSP RX2 Source' zero"
cset "name='TERT_TDM_RX_0 Audio Mixer MultiMedia1' 0"
]
Value {
TQ "HiFi"
}
}
SectionDevice."Speaker" {
Comment "Speaker playback"
EnableSequence [
cset "name='TLH PCM Source' DSP"
cset "name='TLL PCM Source' DSP"
cset "name='TRH PCM Source' DSP"
cset "name='TRL PCM Source' DSP"
cset "name='BLH PCM Source' DSP"
cset "name='BLL PCM Source' DSP"
cset "name='BRH PCM Source' DSP"
cset "name='BRL PCM Source' DSP"
]
DisableSequence [
cset "name='TLH PCM Source' zero"
cset "name='TLL PCM Source' zero"
cset "name='TRH PCM Source' zero"
cset "name='TRL PCM Source' zero"
cset "name='BLH PCM Source' zero"
cset "name='BLL PCM Source' zero"
cset "name='BRH PCM Source' zero"
cset "name='BRL PCM Source' zero"
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "Digital PCM"
PlaybackMasterElem "Analog PCM"
PlaybackVolume "Digital PCM Volume"
}
}