Fix effect gate logic (#7971)

Reverts a mistake from #7696
This commit is contained in:
Fawn
2025-06-25 14:17:53 -06:00
committed by GitHub
parent 346ee60cd2
commit 186beec156

View File

@@ -190,7 +190,7 @@ void Effect::checkGate(double outSum)
// Check whether we need to continue processing input. Restart the
// counter if the threshold has been exceeded.
if (approximatelyEqual(outSum, gate()))
if (outSum - gate() <= F_EPSILON)
{
incrementBufferCount();
if( bufferCount() > timeout() )