diff options
Diffstat (limited to 'src/mdaJX10.cpp')
-rw-r--r-- | src/mdaJX10.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mdaJX10.cpp b/src/mdaJX10.cpp index 74f0340..4ded18e 100644 --- a/src/mdaJX10.cpp +++ b/src/mdaJX10.cpp @@ -204,10 +204,10 @@ void mdaJX10::update() //parameter change }
-void mdaJX10::setSampleRate(float sampleRate)
+void mdaJX10::setSampleRate(float rate)
{
- AudioEffectX::setSampleRate(sampleRate);
- Fs = sampleRate;
+ AudioEffectX::setSampleRate(rate);
+ Fs = rate;
dlfo = lfoHz * (float)(TWOPI * KMAX) / Fs;
}
|