fetches asio buffer value on focus

This commit is contained in:
onyx-and-iris 2023-08-26 22:06:58 +01:00
parent 2847762aa1
commit d09a96b887

View File

@ -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