From f0641c754f3a44d6cdf1d05d1d6bea8b98f43333 Mon Sep 17 00:00:00 2001 From: rekado Date: Mon, 14 Jan 2013 18:43:38 +0800 Subject: remove `resume` function --- src/mdaPiano.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/mdaPiano.cpp') diff --git a/src/mdaPiano.cpp b/src/mdaPiano.cpp index eb6ce39..7f6833e 100644 --- a/src/mdaPiano.cpp +++ b/src/mdaPiano.cpp @@ -66,15 +66,6 @@ void mdaPiano::update() //parameter change } -void mdaPiano::resume() -{ - Fs = getSampleRate(); - iFs = 1.0f / Fs; - if(Fs > 64000.0f) cmax = 0xFF; else cmax = 0x7F; - memset(comb, 0, sizeof(float) * 256); -} - - void mdaPiano::setParameter(uint32_t index, float value) { programs[curProgram].param[index] = value; -- cgit v1.2.3