mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-15 17:40:51 +00:00
fix identifier in outputs
This commit is contained in:
parent
dd5abafa66
commit
08967bc1a1
@ -1,5 +1,7 @@
|
|||||||
package voicemeeter
|
package voicemeeter
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
type t_outputs interface {
|
type t_outputs interface {
|
||||||
GetA1() bool
|
GetA1() bool
|
||||||
SetA1(val bool)
|
SetA1(val bool)
|
||||||
@ -23,8 +25,8 @@ type outputs struct {
|
|||||||
iRemote
|
iRemote
|
||||||
}
|
}
|
||||||
|
|
||||||
func newOutputs(id string, i int) outputs {
|
func newOutputs(i int) outputs {
|
||||||
o := outputs{iRemote{id, i}}
|
o := outputs{iRemote{fmt.Sprintf("strip[%d]", i), i}}
|
||||||
return o
|
return o
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ type physicalStrip struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func newPhysicalStrip(i int, k *kind) t_strip {
|
func newPhysicalStrip(i int, k *kind) t_strip {
|
||||||
o := newOutputs("strip[%d]", i)
|
o := newOutputs(i)
|
||||||
gl := make([]gainLayer, 8)
|
gl := make([]gainLayer, 8)
|
||||||
for j := 0; j < 8; j++ {
|
for j := 0; j < 8; j++ {
|
||||||
gl[j] = newGainLayer(i, j)
|
gl[j] = newGainLayer(i, j)
|
||||||
@ -174,7 +174,7 @@ type virtualStrip struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func newVirtualStrip(i int, k *kind) t_strip {
|
func newVirtualStrip(i int, k *kind) t_strip {
|
||||||
o := newOutputs("strip[%d]", i)
|
o := newOutputs(i)
|
||||||
gl := make([]gainLayer, 8)
|
gl := make([]gainLayer, 8)
|
||||||
for j := 0; j < 8; j++ {
|
for j := 0; j < 8; j++ {
|
||||||
gl[j] = newGainLayer(i, j)
|
gl[j] = newGainLayer(i, j)
|
||||||
|
Loading…
Reference in New Issue
Block a user