mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 13:33:30 +00:00
NewRemote now accepts delay param
getters clear dirty params sync enabled. examples and tests updated
This commit is contained in:
@@ -4,11 +4,10 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
var (
|
||||
vm, err = NewRemote("potato")
|
||||
vm, err = NewRemote("potato", 30)
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
@@ -21,9 +20,3 @@ func TestMain(m *testing.M) {
|
||||
vm.Logout()
|
||||
os.Exit(code)
|
||||
}
|
||||
|
||||
func sync() {
|
||||
time.Sleep(30 * time.Millisecond)
|
||||
for vm.Pdirty() || vm.Mdirty() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user