mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 21:43:30 +00:00
export pdirty, mdirty through remote type
remote sync from setters. add sync to tests.
This commit is contained in:
@@ -3,6 +3,7 @@ package voicemeeter_test
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/onyx-and-iris/voicemeeter-api-go/voicemeeter"
|
||||
)
|
||||
@@ -17,3 +18,9 @@ func TestMain(m *testing.M) {
|
||||
vmRem.Logout()
|
||||
os.Exit(code)
|
||||
}
|
||||
|
||||
func sync() {
|
||||
time.Sleep(30 * time.Millisecond)
|
||||
for vmRem.Pdirty() || vmRem.Mdirty() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user