-
Notifications
You must be signed in to change notification settings - Fork 2
/
outputs.go
113 lines (94 loc) · 2.24 KB
/
outputs.go
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
package voicemeeter
// iOutputs defines the interface outputs type must satisfy
type iOutputs interface {
A1() bool
SetA1(val bool)
A2() bool
SetA2(val bool)
A3() bool
SetA3(val bool)
A4() bool
SetA4(val bool)
A5() bool
SetA5(val bool)
B1() bool
SetB1(val bool)
B2() bool
SetB2(val bool)
B3() bool
SetB3(val bool)
}
// outputs represents the outputs field (A1 - A5, B1 - B3)
// expected to be embedded
type outputs struct {
iRemote
}
// newOutputs returns an outputs type
func newOutputs(id string, i int) outputs {
o := outputs{iRemote{id, i}}
return o
}
// A1 returns the value of the A1 parameter
func (o *outputs) A1() bool {
return o.getter_bool("A1")
}
// SetA1 sets the value of the A1 parameter
func (o *outputs) SetA1(val bool) {
o.setter_bool("A1", val)
}
// A2 returns the value of the A2 parameter
func (o *outputs) A2() bool {
return o.getter_bool("A2")
}
// SetA2 sets the value of the A2 parameter
func (o *outputs) SetA2(val bool) {
o.setter_bool("A2", val)
}
// A3 returns the value of the A3 parameter
func (o *outputs) A3() bool {
return o.getter_bool("A3")
}
// SetA3 sets the value of the A3 parameter
func (o *outputs) SetA3(val bool) {
o.setter_bool("A3", val)
}
// A4 returns the value of the A4 parameter
func (o *outputs) A4() bool {
return o.getter_bool("A4")
}
// SetA4 sets the value of the A4 parameter
func (o *outputs) SetA4(val bool) {
o.setter_bool("A4", val)
}
// A5 returns the value of the A5 parameter
func (o *outputs) A5() bool {
return o.getter_bool("A5")
}
// SetA5 sets the value of the A5 parameter
func (o *outputs) SetA5(val bool) {
o.setter_bool("A5", val)
}
// B1 returns the value of the B1 parameter
func (o *outputs) B1() bool {
return o.getter_bool("B1")
}
// SetB1 sets the value of the B1 parameter
func (o *outputs) SetB1(val bool) {
o.setter_bool("B1", val)
}
// B2 returns the value of the B2 parameter
func (o *outputs) B2() bool {
return o.getter_bool("B2")
}
// SetB2 sets the value of the B2 parameter
func (o *outputs) SetB2(val bool) {
o.setter_bool("B2", val)
}
// B3 returns the value of the B3 parameter
func (o *outputs) B3() bool {
return o.getter_bool("B3")
}
// SetB3 sets the value of the B3 parameter
func (o *outputs) SetB3(val bool) {
o.setter_bool("B3", val)
}