diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mdaPiano.cpp | 9 | ||||
-rw-r--r-- | src/mdaPiano.h | 1 |
2 files changed, 0 insertions, 10 deletions
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; diff --git a/src/mdaPiano.h b/src/mdaPiano.h index 14de4fd..e4cc261 100644 --- a/src/mdaPiano.h +++ b/src/mdaPiano.h @@ -22,7 +22,6 @@ public: virtual uint32_t processEvents(VstEvents* events); virtual void setParameter(uint32_t index, float value); - virtual void resume(); private: |