zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit ccd81935af91c32d033d275a2ef9180665dece14
parent 6be43e6c01aa7ae01075048fa45e242bcb8f6358
Author: Hans Petter Selasky <[email protected]>
Date:   Fri,  3 Apr 2020 13:37:47 +0200

Remove dead code.

Signed-off-by: Hans Petter Selasky <[email protected]>

Diffstat:
Msrc/Synth/SUBnote.cpp | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/Synth/SUBnote.cpp b/src/Synth/SUBnote.cpp @@ -185,11 +185,6 @@ void SUBnote::setup(float freq, initparameters(basefreq / 440.0f * freq, wm, prefix); } else { - if(pars.Pfixedfreq == 0) - freq = basefreq; - else - freq *= basefreq / 440.0f; - if(GlobalFilter) GlobalFilter->updateNoteFreq(basefreq); }