Mercurial > hg > svapp
comparison audio/AudioCallbackPlaySource.cpp @ 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 | 771ec060c1d2 |
children | eae885290abc |
comparison
equal
deleted
inserted
replaced
749:54393ed09d65 | 750:e7c77c366360 |
---|---|
600 SVCERR << "Audio processing overload!" << endl; | 600 SVCERR << "Audio processing overload!" << endl; |
601 | 601 |
602 if (!m_playing) return; | 602 if (!m_playing) return; |
603 | 603 |
604 if (m_auditioningEffectWrapper && | 604 if (m_auditioningEffectWrapper && |
605 m_auditioningEffectWrapper->haveEffect() && | |
605 !m_auditioningEffectWrapper->isBypassed()) { | 606 !m_auditioningEffectWrapper->isBypassed()) { |
606 m_auditioningEffectWrapper->setBypassed(true); | 607 m_auditioningEffectWrapper->setBypassed(true); |
607 emit audioOverloadPluginDisabled(); | 608 emit audioOverloadPluginDisabled(); |
608 return; | 609 return; |
609 } | 610 } |