Skip to content

Commit

Permalink
Fix bug in modern WASAPI detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Davis authored and Luke Davis committed Apr 8, 2024
1 parent 3de82d3 commit 75f3b45
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/globalPlugins/soundSplitter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <XLTechie@newanswertech.com>, Joseph Lee <joseph.lee22590@gmail.com>",
# URL for the add-on documentation support
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 75f3b45

Please sign in to comment.