mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 21:43:30 +00:00
Remote Kind field now exported.
Kind fields/methods now exported vmRem renamed vm in examples/tests. prefer short variable name. minor version bump
This commit is contained in:
@@ -9,18 +9,18 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
vmRem = voicemeeter.NewRemote("potato")
|
||||
vm = voicemeeter.NewRemote("potato")
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
vmRem.Login()
|
||||
vm.Login()
|
||||
code := m.Run()
|
||||
vmRem.Logout()
|
||||
vm.Logout()
|
||||
os.Exit(code)
|
||||
}
|
||||
|
||||
func sync() {
|
||||
time.Sleep(30 * time.Millisecond)
|
||||
for vmRem.Pdirty() || vmRem.Mdirty() {
|
||||
for vm.Pdirty() || vm.Mdirty() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user