summaryrefslogtreecommitdiff
path: root/lv2/lv2.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-10-04 17:31:19 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-10-04 17:31:19 +0200
commit5fbec7c02c6677d701675bfcfd529bb646b4bea8 (patch)
treed871f59aa0ed3999e25cb32e154b2f6a5d98f7bb /lv2/lv2.cc
parent6f0edf4dbb11278f5cce9506b3af2b7940b45824 (diff)
Add samplerate() method to lv2 output engine.
Diffstat (limited to 'lv2/lv2.cc')
-rw-r--r--lv2/lv2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/lv2.cc b/lv2/lv2.cc
index 3aeb5f0..9ec7706 100644
--- a/lv2/lv2.cc
+++ b/lv2/lv2.cc
@@ -248,7 +248,7 @@ LV2_Handle instantiate(const struct _LV2_Descriptor *descriptor,
dg_descriptor.get_pci = dg_get_pci;
dglv2->in = new InputLV2();
- dglv2->out = new OutputLV2();
+ dglv2->out = new OutputLV2(sample_rate);
dglv2->buffer = NULL;
dglv2->buffer_size = 0;