-
Notifications
You must be signed in to change notification settings - Fork 202
/
HiFi.conf
83 lines (67 loc) · 2.27 KB
/
HiFi.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Use case configuration for LenovoX13s.
# Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
SectionVerb {
EnableSequence [
cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1"
cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1"
cset "name='MultiMedia4 Mixer VA_CODEC_DMA_TX_0' 1"
cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1"
]
Include.wsae.File "/codecs/wsa883x/DefaultEnableSeq.conf"
Value {
TQ "HiFi"
}
}
SectionDevice."Speaker" {
Comment "Speaker playback"
Include.wsamspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf"
Include.wsamspkd.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf"
Include.wsaspke.File "/codecs/wsa883x/SpeakerEnableSeq.conf"
Include.wsaspkd.File "/codecs/wsa883x/SpeakerDisableSeq.conf"
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},1"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "Speakers"
}
}
SectionDevice."Headphones" {
Comment "Headphones playback"
Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf"
Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf"
Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf"
Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf"
Value {
PlaybackPriority 200
PlaybackPCM "hw:${CardId},0"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "HP"
JackControl "Headphone Jack"
JackHWMute "Speaker"
}
}
SectionDevice."Mic" {
Comment "Mic"
Include.wcdmice.File "/codecs/wcd938x/HeadphoneMicEnableSeq.conf"
Include.wcdmicd.File "/codecs/wcd938x/HeadphoneMicDisableSeq.conf"
Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf"
Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf"
Value {
CapturePriority 100
CapturePCM "hw:${CardId},2"
CaptureMixerElem "ADC2"
JackControl "Mic Jack"
JackHWMute "DMic01"
}
}
SectionDevice."DMic01" {
Comment "DMic01"
Include.vadm0e.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf"
Include.vadm0d.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf"
Include.vadm1e.File "/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf"
Include.vadm1d.File "/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf"
Value {
CapturePriority 100
CapturePCM "hw:${CardId},3"
}
}