From d09a96b887d2e9a6f3060f883d014a89cf464a42 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 26 Aug 2023 22:06:58 +0100 Subject: [PATCH] fetches asio buffer value on focus --- src/nvda_voicemeeter/window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nvda_voicemeeter/window.py b/src/nvda_voicemeeter/window.py index 362b154..aded34f 100644 --- a/src/nvda_voicemeeter/window.py +++ b/src/nvda_voicemeeter/window.py @@ -201,7 +201,8 @@ class NVDAVMWindow(psg.Window): # ASIO Buffer case [["ASIO", "BUFFER"], ["FOCUS", "IN"]]: - self.nvda.speak(f"ASIO BUFFER") + val = int(self.vm.get("option.buffer.asio")) + self.nvda.speak(f"ASIO BUFFER {val if val else 'default'}") # makes me sad (( case ["ASIO BUFFER"]: if values[event] == "Default": val = 0