summaryrefslogtreecommitdiffstats
blob: a64ea4c2ca6c02a7ba14afaed92787309a0e602f (plain) (blame)
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<mixer>

<!-- Card default routes -->

<!-- Capture: Mic -->
<ctl name="Left PGA Mixer Mic3L Switch" value="1" />
<ctl name="Right PGA Mixer Mic3R Switch" value="1" />
<ctl name="PGA Capture Switch" value="1" />
<ctl name="PGA Capture Volume" value="24" />
<ctl name="Left Line1L Mux" value="single-ended" />
<ctl name="Right Line1L Mux" value="single-ended" />
<ctl name="Left Line1R Mux" value="single-ended" />
<ctl name="Right Line1R Mux" value="single-ended" />

<!-- Playback: Line-Out and Headphone -->
<ctl name="Left DAC Mux" value="DAC_L1" />
<ctl name="Right DAC Mux" value="DAC_R1" />
<ctl name="PCM Playback Volume" value="127" />

<ctl name="Left HP Mixer DACL1 Switch" value="1" />
<ctl name="Right HP Mixer DACR1 Switch" value="1" />
<ctl name="HP Playback Switch" value="1" />
<ctl name="HP DAC Playback Volume" value="118" />
<ctl name="Output Driver Power-On time" value="200ms" />

<ctl name="Left Line Mixer DACL1 Switch" value="1" />
<ctl name="Right Line Mixer DACR1 Switch" value="1" />
<ctl name="Line Playback Switch" value="1" />
<ctl name="Line DAC Playback Volume" value="118" />

<!-- JAMR3 board, codec-A input: Line-In -->
<ctl name="J3A Left PGA Mixer Line1L Switch" value="1" />
<ctl name="J3A Right PGA Mixer Line1R Switch" value="1" />
<ctl name="J3A PGA Capture Switch" value="0" />
<ctl name="J3A PGA Capture Volume" value="0" />
<ctl name="J3A Left Line1L Mux" value="differential" />
<ctl name="J3A Right Line1L Mux" value="differential" />
<ctl name="J3A Left Line1R Mux" value="differential" />
<ctl name="J3A Right Line1R Mux" value="differential" />

<!-- JAMR3 board, codec-B input: Mic -->
<ctl name="J3B Left PGA Mixer Line1L Switch" value="1" />
<ctl name="J3B Right PGA Mixer Line1R Switch" value="1" />
<ctl name="J3B PGA Capture Switch" value="0" />
<ctl name="J3B PGA Capture Volume" value="0" />
<ctl name="J3B Left Line1L Mux" value="differential" />
<ctl name="J3B Right Line1L Mux" value="differential" />
<ctl name="J3B Left Line1R Mux" value="differential" />
<ctl name="J3B Right Line1R Mux" value="differential" />

<!-- JAMR3 board, codec-A output: Line-Out -->
<ctl name="J3A Left DAC Mux" value="DAC_L1" />
<ctl name="J3A Right DAC Mux" value="DAC_R1" />
<ctl name="J3A Left Line Mixer DACL1 Switch" value="1" />
<ctl name="J3A Right Line Mixer DACR1 Switch" value="1" />
<ctl name="J3A Line DAC Playback Volume" value="0" />
<ctl name="J3A Line Playback Switch" value="1" />
<ctl name="J3A PCM Playback Volume" value="127" />

<!-- JAMR3 board, codec-B Output: Line-Out -->
<ctl name="J3B Left DAC Mux" value="DAC_L1" />
<ctl name="J3B Right DAC Mux" value="DAC_R1" />
<ctl name="J3B Left Line Mixer DACL1 Switch" value="1" />
<ctl name="J3B Right Line Mixer DACR1 Switch" value="1" />
<ctl name="J3B Line DAC Playback Volume" value="0" />
<ctl name="J3B Line Playback Switch" value="1" />
<ctl name="J3B PCM Playback Volume" value="127" />

<!-- JAMR3 board, codec-C Output: Line-Out -->
<ctl name="J3C Left DAC Mux" value="DAC_L1" />
<ctl name="J3C Right DAC Mux" value="DAC_R1" />
<ctl name="J3C Left Line Mixer DACL1 Switch" value="1" />
<ctl name="J3C Right Line Mixer DACR1 Switch" value="1" />
<ctl name="J3C Line DAC Playback Volume" value="0" />
<ctl name="J3C Line Playback Switch" value="1" />
<ctl name="J3C PCM Playback Volume" value="127" />

<!-- Device specific routes -->

<!-- JAMR3 codec A input: Line-In -->
<path name="AUDIO_DEVICE_IN_ANLG_DOCK_HEADSET">
<ctl name="J3A PGA Capture Switch" value="1" />
</path>

<!-- On-board input: Stereo mic -->
<path name="AUDIO_DEVICE_IN_BUILTIN_MIC">
<ctl name="PGA Capture Switch" value="1" />
</path>

<!-- JAMR3 codec B input: Mono mic right -->
<path name="AUDIO_DEVICE_IN_BACK_MIC">
<ctl name="J3B PGA Capture Switch" id="1" value="1" />
</path>

<!-- On-board output: Line-Out -->
<path name="AUDIO_DEVICE_OUT_SPEAKER">
<ctl name="Line DAC Playback Volume" value="118" />
</path>

<!-- JAMR3 codec B output: Line-Out -->
<path name="AUDIO_DEVICE_OUT_WIRED_HEADPHONE">
<ctl name="J3B Line DAC Playback Volume" value="118" />
</path>

<!-- JAMR3 codec C output: Line-Out -->
<path name="AUDIO_DEVICE_OUT_WIRED_HEADPHONE2">
<ctl name="J3C Line DAC Playback Volume" value="118" />
</path>

</mixer>