summaryrefslogtreecommitdiff
path: root/lv2/lv2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2.cc')
-rw-r--r--lv2/lv2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lv2/lv2.cc b/lv2/lv2.cc
index cadea72..48db06a 100644
--- a/lv2/lv2.cc
+++ b/lv2/lv2.cc
@@ -261,6 +261,7 @@ LV2_Handle instantiate(const struct _LV2_Descriptor *descriptor,
*/
dglv2->dg = new DrumGizmo(dglv2->out, dglv2->in);
+ dglv2->dg->setSamplerate(sample_rate);
// dglv2->dg->loadkit(getenv("DRUMGIZMO_DRUMKIT"));
// dglv2->dg->init(true);