2022-06-25 04:01:19 +01:00
|
|
|
package voicemeeter
|
|
|
|
|
2022-07-10 23:08:14 +01:00
|
|
|
// iOutputs defines the interface outputs type must satisfy
|
|
|
|
type iOutputs interface {
|
2022-12-08 10:23:35 +00:00
|
|
|
A1() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetA1(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
A2() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetA2(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
A3() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetA3(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
A4() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetA4(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
A5() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetA5(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
B1() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetB1(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
B2() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetB2(val bool)
|
2022-12-08 10:23:35 +00:00
|
|
|
B3() bool
|
2022-06-25 04:01:19 +01:00
|
|
|
SetB3(val bool)
|
|
|
|
}
|
|
|
|
|
2022-07-10 23:08:14 +01:00
|
|
|
// outputs represents the outputs field (A1 - A5, B1 - B3)
|
|
|
|
// expected to be embedded
|
2022-06-25 04:01:19 +01:00
|
|
|
type outputs struct {
|
|
|
|
iRemote
|
|
|
|
}
|
|
|
|
|
2022-07-10 23:08:14 +01:00
|
|
|
// newOutputs returns an outputs type
|
2022-07-01 01:35:54 +01:00
|
|
|
func newOutputs(id string, i int) outputs {
|
|
|
|
o := outputs{iRemote{id, i}}
|
2022-06-25 04:01:19 +01:00
|
|
|
return o
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// A1 returns the value of the A1 parameter
|
|
|
|
func (o *outputs) A1() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("A1")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetA1 sets the value of the A1 parameter
|
|
|
|
func (o *outputs) SetA1(val bool) {
|
|
|
|
o.setter_bool("A1", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// A2 returns the value of the A2 parameter
|
|
|
|
func (o *outputs) A2() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("A2")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetA2 sets the value of the A2 parameter
|
|
|
|
func (o *outputs) SetA2(val bool) {
|
|
|
|
o.setter_bool("A2", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// A3 returns the value of the A3 parameter
|
|
|
|
func (o *outputs) A3() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("A3")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetA3 sets the value of the A3 parameter
|
|
|
|
func (o *outputs) SetA3(val bool) {
|
|
|
|
o.setter_bool("A3", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// A4 returns the value of the A4 parameter
|
|
|
|
func (o *outputs) A4() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("A4")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetA4 sets the value of the A4 parameter
|
|
|
|
func (o *outputs) SetA4(val bool) {
|
|
|
|
o.setter_bool("A4", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// A5 returns the value of the A5 parameter
|
|
|
|
func (o *outputs) A5() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("A5")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetA5 sets the value of the A5 parameter
|
|
|
|
func (o *outputs) SetA5(val bool) {
|
|
|
|
o.setter_bool("A5", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// B1 returns the value of the B1 parameter
|
|
|
|
func (o *outputs) B1() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("B1")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetB1 sets the value of the B1 parameter
|
|
|
|
func (o *outputs) SetB1(val bool) {
|
|
|
|
o.setter_bool("B1", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// B2 returns the value of the B2 parameter
|
|
|
|
func (o *outputs) B2() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("B2")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetB2 sets the value of the B2 parameter
|
|
|
|
func (o *outputs) SetB2(val bool) {
|
|
|
|
o.setter_bool("B2", val)
|
|
|
|
}
|
|
|
|
|
2022-12-08 10:23:35 +00:00
|
|
|
// B3 returns the value of the B3 parameter
|
|
|
|
func (o *outputs) B3() bool {
|
2022-06-25 04:01:19 +01:00
|
|
|
return o.getter_bool("B3")
|
|
|
|
}
|
|
|
|
|
|
|
|
// SetB3 sets the value of the B3 parameter
|
|
|
|
func (o *outputs) SetB3(val bool) {
|
|
|
|
o.setter_bool("B3", val)
|
|
|
|
}
|