mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 05:23:31 +00:00
add i to init, a little clearer to read
This commit is contained in:
2
bus.go
2
bus.go
@@ -277,7 +277,7 @@ func newBusLevels(i int, k *kind) *levels {
|
||||
func (l *levels) All() []float64 {
|
||||
levels := make([]float64, l.offset)
|
||||
for i := range levels {
|
||||
levels[i] = convertLevel(_levelCache.busLevels[i+l.init])
|
||||
levels[i] = convertLevel(_levelCache.busLevels[l.init+i])
|
||||
}
|
||||
return levels
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user