changeset 750:e7c77c366360

Fix #1978 Overload message says auditioning plugin disabled, even if no auditioning plugin present
author Chris Cannam
date Wed, 22 Apr 2020 17:10:52 +0100
parents 54393ed09d65
children ed5db7d37005 5b6655449ba6
files audio/AudioCallbackPlaySource.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/audio/AudioCallbackPlaySource.cpp	Wed Apr 22 17:10:36 2020 +0100
+++ b/audio/AudioCallbackPlaySource.cpp	Wed Apr 22 17:10:52 2020 +0100
@@ -602,6 +602,7 @@
     if (!m_playing) return;
 
     if (m_auditioningEffectWrapper &&
+        m_auditioningEffectWrapper->haveEffect() &&
         !m_auditioningEffectWrapper->isBypassed()) {
         m_auditioningEffectWrapper->setBypassed(true);
         emit audioOverloadPluginDisabled();