From e3ebef08a933fd700eafc083c25f170f9ad22cb2 Mon Sep 17 00:00:00 2001 From: dnl-music Date: Wed, 14 Jan 2015 17:09:38 +0500 Subject: [PATCH] Update Monstro.h --- plugins/monstro/Monstro.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/monstro/Monstro.h b/plugins/monstro/Monstro.h index 95dfa2933..769271f48 100644 --- a/plugins/monstro/Monstro.h +++ b/plugins/monstro/Monstro.h @@ -178,10 +178,7 @@ private: return s1 + ( s2 - s1 ) * x; }*/ // using interpolation.h from now on - inline sample_t calcSlope1( sample_t s ); - - inline sample_t calcSlope2( sample_t s ); - + inline sample_t calcSlope( int slope, sample_t s ); // checks for lower bound for phase, upper bound is already checked by oscillator-functions in both // oscillator.h and bandlimitedwave.h so we save some cpu by only checking lower bound