sync not required. using callbacks.

This commit is contained in:
onyx-and-iris 2023-09-20 11:34:06 +01:00
parent 09f052b4a3
commit dde940938f
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ import nvda_voicemeeter
KIND_ID = "potato" KIND_ID = "potato"
with voicemeeterlib.api(KIND_ID, sync=True) as vm: with voicemeeterlib.api(KIND_ID) as vm:
with nvda_voicemeeter.draw(KIND_ID, vm) as window: with nvda_voicemeeter.draw(KIND_ID, vm) as window:
window.run() window.run()
``` ```

View File

@ -4,6 +4,6 @@ import nvda_voicemeeter
KIND_ID = "potato" KIND_ID = "potato"
with voicemeeterlib.api(KIND_ID, sync=True) as vm: with voicemeeterlib.api(KIND_ID) as vm:
with nvda_voicemeeter.draw(KIND_ID, vm) as window: with nvda_voicemeeter.draw(KIND_ID, vm) as window:
window.run() window.run()