From b2d0c97e0ca7b7eb0a7195ddbf263b9953171e66 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Fri, 14 Jan 2011 13:38:54 +0100 Subject: Moved lfos and sample-and-hold in own source file --- synth/jack.cpp | 37 ++----------------------------------- 1 file changed, 2 insertions(+), 35 deletions(-) (limited to 'synth/jack.cpp') diff --git a/synth/jack.cpp b/synth/jack.cpp index fbf1ea0..d0a6169 100644 --- a/synth/jack.cpp +++ b/synth/jack.cpp @@ -10,6 +10,7 @@ #include "jack.h" #include "communication.h" +#include "lfos.h" using namespace std; @@ -46,40 +47,6 @@ void process_request() -void maybe_calc_stuff() //TODO woandershinschieben? lfo.cpp oder so? -{ - static int lfocnt=0; - static int snhcnt=0; - - if (lfocnt==0) - { - lfocnt=lfo_update_frames; - - for (int i=0;i