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