mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 05:23:31 +00:00
add Run() to Remote type. Launches Voicemeeter GUI
pooler no longer defined as singleton
This commit is contained in:
28
publisher.go
28
publisher.go
@@ -75,22 +75,20 @@ type pooler struct {
|
||||
}
|
||||
|
||||
func newPooler(k *kind) *pooler {
|
||||
if p == nil {
|
||||
p = &pooler{
|
||||
k: k,
|
||||
run: true,
|
||||
event: newEvent(),
|
||||
pdirtyDone: make(chan bool),
|
||||
mdirtyDone: make(chan bool),
|
||||
midiDone: make(chan bool),
|
||||
ldirtyDone: make(chan bool),
|
||||
}
|
||||
go p.done()
|
||||
go p.parameters()
|
||||
go p.macrobuttons()
|
||||
go p.midi()
|
||||
go p.levels()
|
||||
p = &pooler{
|
||||
k: k,
|
||||
run: true,
|
||||
event: newEvent(),
|
||||
pdirtyDone: make(chan bool),
|
||||
mdirtyDone: make(chan bool),
|
||||
midiDone: make(chan bool),
|
||||
ldirtyDone: make(chan bool),
|
||||
}
|
||||
go p.done()
|
||||
go p.parameters()
|
||||
go p.macrobuttons()
|
||||
go p.midi()
|
||||
go p.levels()
|
||||
return p
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user