summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-09-20 22:50:36 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-09-20 22:50:36 +0200
commitf26b9cb7418917b3ecc7fec877e11eedcb7fefa9 (patch)
tree138d59f98661b791e03f1bafa17c4a433c678b42
parent73f1a400608d93742e57c7ea3c4433eb1a2e1852 (diff)
Use new samplerate feature in VST as well.
-rw-r--r--vst/drumgizmo_vst.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vst/drumgizmo_vst.cc b/vst/drumgizmo_vst.cc
index ae78bed..60a6ac5 100644
--- a/vst/drumgizmo_vst.cc
+++ b/vst/drumgizmo_vst.cc
@@ -427,6 +427,7 @@ bool DrumGizmoVst::getMidiKeyName(VstInt32 channel, MidiKeyName* key)
void DrumGizmoVst::setSampleRate(float sampleRate)
{
AudioEffectX::setSampleRate(sampleRate);
+ drumgizmo->setSamplerate(sampleRate);
}
void DrumGizmoVst::setBlockSize(VstInt32 blockSize)