summaryrefslogtreecommitdiff
path: root/lv2
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-09-20 22:23:23 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-09-20 22:23:23 +0200
commit73f1a400608d93742e57c7ea3c4433eb1a2e1852 (patch)
treeeb6b500127e095e5bad124927054dc73f44814dc /lv2
parent3d0ed93889afb5ae739d2998e33178689c2de965 (diff)
New resample feature (greatly inspired by Cédric 'SxDx') based on libsamplerate.
Diffstat (limited to 'lv2')
-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);