From cfa500c58970c320ff16f509eaf341f677c3012c Mon Sep 17 00:00:00 2001 From: masonasons Date: Wed, 29 Jun 2022 17:03:31 -0500 Subject: [PATCH] Fix reverb toggle. --- addon/globalPlugins/Unspoken/__init__.py | 2 +- buildVars.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/globalPlugins/Unspoken/__init__.py b/addon/globalPlugins/Unspoken/__init__.py index 53a990b..76d7cb3 100644 --- a/addon/globalPlugins/Unspoken/__init__.py +++ b/addon/globalPlugins/Unspoken/__init__.py @@ -123,7 +123,7 @@ def make_sound_objects(self): sound_object = sound.sound3d("3d",sound.context) log.debug("Loading "+path, exc_info=True) sound_object.load(path) - sound.context.config_route(sound_object.source, sound.reverb) + if config.conf["unspoken"]["Reverb"]==True: sound.context.config_route(sound_object.source, sound.reverb) sounds[key] = sound_object def shouldNukeRoleSpeech(self): diff --git a/buildVars.py b/buildVars.py index 91e4214..9c5bbf4 100644 --- a/buildVars.py +++ b/buildVars.py @@ -19,7 +19,7 @@ # Translators: Long description to be shown for this add-on on add-on information from add-ons manager "addon_description" : _("""Adds 3D audio for controls and replaces control messages. This updated version uses Synthizer and is compatible with NVDA 2022.1."""), # version - "addon_version" : "0.9.1", + "addon_version" : "0.9.2", # Author(s) "addon_author" : "Camlorn , Bryan Smart< Bryansmart@bryansmart.com>, Masonasons ", # URL for the add-on documentation support