mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 04:40:53 +00:00
ratelimit for pooler set at 33ms
This commit is contained in:
parent
dcc3994536
commit
18ece8a6b8
@ -1,5 +1,9 @@
|
||||
package voicemeeter
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// observer defines the interface any registered observers must satisfy
|
||||
type observer interface {
|
||||
OnUpdate(subject string)
|
||||
@ -59,5 +63,6 @@ func (p *pooler) runner() {
|
||||
if mdirty() {
|
||||
p.notify("mdirty")
|
||||
}
|
||||
time.Sleep(33 * time.Millisecond)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user