blob: 7a0bf22c98832ab0b49c09d5592b29464ce1f282 (
plain)
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
|
<tinyalsa-audio device="GTA04">
<device type="init">
<path name="enable">
<ctl name="DAC1 Digital Fine Playback Volume" value="60" />
<ctl name="DAC2 Digital Fine Playback Volume" value="60" />
<ctl name="DAC1 Digital Coarse Playback Volume" value="0" />
<ctl name="DAC2 Digital Coarse Playback Volume" value="0" />
<ctl name="DAC1 Analog Playback Volume" value="16" />
<ctl name="DAC2 Analog Playback Volume" value="16" />
<ctl name="TX1 Digital Capture Volume" value="12" />
<ctl name="TX2 Digital Capture Volume" value="12" />
<ctl name="Analog Capture Volume" value="5" />
<ctl name="Voice route" value="Voice to SoC" />
</path>
</device>
<device type="output" name="earpiece" mode="normal">
<path name="enable">
<ctl name="Earpiece Mixer AudioL2" value="on" />
<ctl name="Earpiece Playback Volume" value="3" />
</path>
<path name="disable">
<ctl name="Earpiece Mixer AudioL2" value="off" />
<ctl name="Earpiece Playback Volume" value="0" />
</path>
</device>
<device type="output" name="earpiece" mode="in-call">
<path name="enable">
<ctl name="Voice route" value="Voice to twl4030" />
<ctl name="Earpiece Mixer Voice" value="on" />
<ctl name="Earpiece Playback Volume" value="3" />
<ctl name="DAC Voice Digital Downlink Volume" value="40" />
<ctl name="DAC Voice Analog Downlink Switch" value="on" />
<ctl name="Analog Left Main Mic Capture Switch" attr="mic" value="on" />
<ctl name="DAC Voice Analog Downlink Volume" attr="voice-volume" value="0-15" />
</path>
<path name="disable">
<ctl name="Voice route" value="Voice to SoC" />
<ctl name="Earpiece Mixer Voice" value="off" />
<ctl name="Earpiece Playback Volume" value="0" />
<ctl name="DAC Voice Digital Downlink Volume" value="0" />
<ctl name="DAC Voice Analog Downlink Switch" value="off" />
<ctl name="Analog Left Main Mic Capture Switch" attr="mic" value="off" />
</path>
</device>
<device type="output" name="speaker" mode="normal">
<path name="enable">
<ctl name="HandsfreeL Mux" value="AudioL2" />
<ctl name="HandsfreeR Mux" value="AudioR2" />
<ctl name="HandsfreeL Switch" value="on" />
<ctl name="HandsfreeR Switch" value="on" />
</path>
<path name="disable">
<ctl name="HandsfreeL Switch" value="off" />
<ctl name="HandsfreeR Switch" value="off" />
</path>
</device>
<device type="input" name="builtin-mic">
<path name="enable">
<ctl name="Analog Left Main Mic Capture Switch" value="on" />
</path>
<path name="disable">
<ctl name="Analog Left Main Mic Capture Switch" value="off" />
</path>
</device>
</tinyalsa-audio>
|