From 75f3b456f18588ace7a3a8a9ff1af2aa9fe6ae13 Mon Sep 17 00:00:00 2001 From: Luke Davis Date: Mon, 8 Apr 2024 07:28:26 -0400 Subject: [PATCH] Fix bug in modern WASAPI detection. --- addon/globalPlugins/soundSplitter/__init__.py | 2 +- buildVars.py | 2 +- changelog.md | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/addon/globalPlugins/soundSplitter/__init__.py b/addon/globalPlugins/soundSplitter/__init__.py index fc9e334..c0338a8 100644 --- a/addon/globalPlugins/soundSplitter/__init__.py +++ b/addon/globalPlugins/soundSplitter/__init__.py @@ -65,7 +65,7 @@ def reallyCheck_isUsingWASAPI() -> bool: else: usingWASAPI = config.conf["audio"]["wasapi"] else: - usingWASAPI = config.conf["audio"]["WASAPI"] + usingWASAPI = config.conf["audio"]["WASAPI"].__bool__() return usingWASAPI # If this is the first run, establish the state for all future runs if _usingWASAPIAtStartup is None: diff --git a/buildVars.py b/buildVars.py index d4bca2f..ab48ac6 100644 --- a/buildVars.py +++ b/buildVars.py @@ -25,7 +25,7 @@ def _(arg): # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description": _("Splits sound from NvDA screen reader and other programs to separate channels"), # version - "addon_version": "23.5.10", + "addon_version": "23.5.11", # Author(s) "addon_author": "Luke Davis , Joseph Lee ", # URL for the add-on documentation support diff --git a/changelog.md b/changelog.md index 6749807..4203710 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog: +### 24.1.0 + +* Compatibility with NVDA 2024.1. +* Emits a notice on installation, that WASAPI sound split feature is available in NVDA 2024.2 and its alphas/betas. +* Fixes a bug with WASAPI state detection in NVDA 2024.1 and later. + ### 23.5.8 Hotfix for WASAPI detection, contributed by @CyrilleB79: