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