From f26b9cb7418917b3ecc7fec877e11eedcb7fefa9 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 20 Sep 2013 22:50:36 +0200 Subject: Use new samplerate feature in VST as well. --- vst/drumgizmo_vst.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'vst') 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) -- cgit v1.2.3