|
Line 0
Link Here
|
|
|
1 |
# Use case configuration for RetroidPocket 5 and Mini. |
| 2 |
# Author: Teguh Sobirin <teguh@sobir.in> |
| 3 |
|
| 4 |
SectionVerb { |
| 5 |
|
| 6 |
EnableSequence [ |
| 7 |
cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1" |
| 8 |
cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" |
| 9 |
cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1" |
| 10 |
] |
| 11 |
|
| 12 |
Include.wsae.File "/codecs/wsa881x/DefaultEnableSeq.conf" |
| 13 |
|
| 14 |
Value { |
| 15 |
TQ "HiFi" |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
SectionDevice."Headphones" { |
| 20 |
Comment "Headphones Playback" |
| 21 |
|
| 22 |
Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf" |
| 23 |
Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf" |
| 24 |
Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf" |
| 25 |
Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf" |
| 26 |
|
| 27 |
Value { |
| 28 |
PlaybackPriority 200 |
| 29 |
PlaybackPCM "hw:${CardId},0" |
| 30 |
PlaybackMixer "default:${CardId}" |
| 31 |
PlaybackMixerElem "HP" |
| 32 |
JackControl "Headphone Jack" |
| 33 |
JackHWMute "Speaker" |
| 34 |
} |
| 35 |
} |
| 36 |
|
| 37 |
SectionDevice."Speaker" { |
| 38 |
Comment "Speaker Playback" |
| 39 |
|
| 40 |
Include.wsamspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf" |
| 41 |
Include.wsamspkd.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf" |
| 42 |
Include.wsaspke.File "/codecs/wsa881x/SpeakerEnableSeq.conf" |
| 43 |
Include.wsaspkd.File "/codecs/wsa881x/SpeakerDisableSeq.conf" |
| 44 |
|
| 45 |
Value { |
| 46 |
PlaybackPriority 100 |
| 47 |
PlaybackPCM "hw:${CardId},1" |
| 48 |
PlaybackMixer "default:${CardId}" |
| 49 |
PlaybackMixerElem "Speakers" |
| 50 |
} |
| 51 |
} |
| 52 |
|
| 53 |
SectionDevice."Mic" { |
| 54 |
Comment "Headphone Microphone" |
| 55 |
|
| 56 |
Include.wcdmice.File "/codecs/wcd938x/HeadphoneMicEnableSeq.conf" |
| 57 |
Include.wcdmicd.File "/codecs/wcd938x/HeadphoneMicDisableSeq.conf" |
| 58 |
Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/SoundwireMic1EnableSeq.conf" |
| 59 |
Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf" |
| 60 |
|
| 61 |
Value { |
| 62 |
CapturePriority 100 |
| 63 |
CapturePCM "hw:${CardId},2" |
| 64 |
CaptureMixerElem "ADC2" |
| 65 |
JackControl "Mic Jack" |
| 66 |
} |
| 67 |
} |