From 2f796b659626569c02dd5016dc3df45000e2b7e2 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 12 Apr 2012 22:35:44 +0200 Subject: use precalculated phase_increment instead of calculating it every frame: brings up to 33% speed boost! bugfix: ksr now uses dest_freq instead of (current) freq --- synth/note_skel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'synth/note_skel.h') diff --git a/synth/note_skel.h b/synth/note_skel.h index 1afbe3a..4729aed 100644 --- a/synth/note_skel.h +++ b/synth/note_skel.h @@ -31,6 +31,8 @@ class NoteSkel virtual void set_param(const parameter_t &p, fixed_t v)=0; + virtual void recalc_actual_freq()=0; + virtual void destroy()=0; protected: -- cgit v1.2.3