-
Notifications
You must be signed in to change notification settings - Fork 0
/
microphone_rack.xml
141 lines (130 loc) · 5.61 KB
/
microphone_rack.xml
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE template>
<!--
Description:
Microphones container widget.
-->
<Template>
<WidgetGroup>
<Layout>vertical</Layout>
<!-- I don't now why this works but a WidgetGroup wrapper around a
WidgetStack with a 'fixed' size policy makes the group track the
minimum size of the current stack widget. -->
<SizePolicy>me,f</SizePolicy>
<Children>
<WidgetStack>
<ObjectName>MicrophonesContainer</ObjectName>
<SizePolicy>me,min</SizePolicy>
<Children>
<WidgetGroup>
<ObjectName>MicrophoneRackExpanded</ObjectName>
<SizePolicy>me,min</SizePolicy>
<Layout>horizontal</Layout>
<Children>
<!-- Microphone input controls -->
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<!-- Hide all mic controls but for Mic 1, if not enabled in
the sound hardware preferences. Clicking the Mic 1 TALK
button opens a modal window which allows to go straight
to the preferences pane for easy set up. Once Mic 1 is
set up, this widget hides itself. -->
<Template src="skin:microphone_talkover_button.xml">
<SetVariable name="group">[Microphone<Variable name="i"/>]</SetVariable>
<SetVariable name="TooltipId">microphone_talkover</SetVariable>
<SetVariable name="talk_text">Talk</SetVariable>
</Template>
<Template src="skin:vumeter.xml">
<SetVariable name="group">[Microphone<Variable name="i"/>]</SetVariable>
<SetVariable name="TooltipId">microphone_VuMeter</SetVariable>
<SetVariable name="control">VuMeter</SetVariable>
</Template>
<Template src="skin:knob_with_button.xml">
<SetVariable name="TooltipId">microphone_pregain</SetVariable>
<SetVariable name="group">[Microphone<Variable name="i"/>]</SetVariable>
<SetVariable name="control">pregain</SetVariable>
<SetVariable name="color">red</SetVariable>
<SetVariable name="button_TooltipId">mute</SetVariable>
<SetVariable name="button_control">mute</SetVariable>
<SetVariable name="label">Gain</SetVariable>
</Template>
</Children>
<Connection>
<ConfigKey>[Microphone],enabled</ConfigKey>
<BindProperty>visible</BindProperty>
<Transform>
<Not/>
</Transform>
</Connection>
</WidgetGroup>
<Template src="skin:microphone.xml">
<SetVariable name="i"></SetVariable>
</Template>
<Template src="skin:microphone.xml">
<SetVariable name="i">2</SetVariable>
</Template>
<Template src="skin:microphone.xml">
<SetVariable name="i">3</SetVariable>
</Template>
<Template src="skin:microphone.xml">
<SetVariable name="i">4</SetVariable>
</Template>
<PushButton>
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<TooltipId></TooltipId>
<Size>70f,20f</Size>
<NumberStates>3</NumberStates>
<State>
<Number>0</Number>
<Text>Ducking</Text>
</State>
<State>
<Number>1</Number>
<Text>Ducking</Text>
</State>
<State>
<Number>2</Number>
<Text>Manual</Text>
</State>
<Connection>
<ConfigKey>[Master],talkoverDucking</ConfigKey>
<EmitOnPressAndRelease>true</EmitOnPressAndRelease>
</Connection>
</PushButton>
<Template src="skin:knob_with_label.xml">
<SetVariable name="group">[Master]</SetVariable>
<SetVariable name="control">duckStrength</SetVariable>
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
<SetVariable name="TooltipId"></SetVariable>
<SetVariable name="color">blue</SetVariable>
<SetVariable name="label">Strength</SetVariable>
</Template>
<!-- Auxiliary input controls -->
<Template src="skin:spacer_h.xml"></Template>
<Template src="skin:auxiliary.xml">
<SetVariable name="i">1</SetVariable>
</Template>
<Template src="skin:auxiliary.xml">
<SetVariable name="i">2</SetVariable>
</Template>
<Template src="skin:auxiliary.xml">
<SetVariable name="i">3</SetVariable>
</Template>
<Template src="skin:auxiliary.xml">
<SetVariable name="i">4</SetVariable>
</Template>
</Children>
</WidgetGroup>
</Children>
<Connection>
<ConfigKey persist="true">[Microphone],show_microphone</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetStack>
</Children>
<Connection>
<ConfigKey>[Nimix],nimix_mode</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
</Template>