Skip to content

Commit

Permalink
Revert "Fix ReTrigger (and Gate?) laser effects causing ear rape"
Browse files Browse the repository at this point in the history
This reverts commit 6d4f9f8.
  • Loading branch information
ASleepyCat committed May 12, 2021
1 parent 6d4f9f8 commit 5619b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Main/src/Audio/AudioPlayback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5619b2e

Please sign in to comment.