From 5619b2e76a391ec0e909f19c1234c661f4cc1258 Mon Sep 17 00:00:00 2001 From: ASleepyCat Date: Wed, 12 May 2021 17:49:14 +1000 Subject: [PATCH] Revert "Fix ReTrigger (and Gate?) laser effects causing ear rape" This reverts commit 6d4f9f8060c4ef7e21de8ea0b6b9a5b7f001f5d8. --- Main/src/Audio/AudioPlayback.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Main/src/Audio/AudioPlayback.cpp b/Main/src/Audio/AudioPlayback.cpp index c3c111184..e948e555a 100644 --- a/Main/src/Audio/AudioPlayback.cpp +++ b/Main/src/Audio/AudioPlayback.cpp @@ -498,14 +498,14 @@ void AudioPlayback::m_SetLaserEffectParameter(float input) } case EffectType::Gate: { - m_laserDSP->mix = 1; // TODO: This should get the mix value from custom fx parameters + m_laserDSP->mix = m_laserEffect.mix.Sample(input); GateDSP *gd = (GateDSP *)m_laserDSP; // gd->SetLength(actualLength); break; } case EffectType::Retrigger: { - m_laserDSP->mix = 1; // TODO: This should get the mix value from custom fx parameters + m_laserDSP->mix = m_laserEffect.mix.Sample(input); RetriggerDSP *rt = (RetriggerDSP *)m_laserDSP; rt->SetLength(actualLength); break;