Skip to content

Commit

Permalink
Fix Window osc streaming handler (surge-synthesizer#5582)
Browse files Browse the repository at this point in the history
So when @baconpaul added version streaming handlers, there was a miscopied line from Sine osc into Window osc that changed the type of Formant parameter to ct_osc_feedback, which messes up certain factory patches that are sv<=12.

This fixes that!
  • Loading branch information
mkruselj authored Dec 6, 2021
1 parent 4c9d5da commit e8408ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/common/dsp/oscillators/WindowOscillator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ void WindowOscillator::handleStreamingMismatches(int streamingRevision,
oscdata->p[win_lowcut].deactivated = true;
oscdata->p[win_highcut].val.f = oscdata->p[win_highcut].val_max.f; // low cut at the top
oscdata->p[win_highcut].deactivated = true;
oscdata->p[win_formant].set_type(ct_osc_feedback);
}

if (streamingRevision <= 15)
Expand Down

0 comments on commit e8408ae

Please sign in to comment.