summaryrefslogtreecommitdiff
path: root/lv2/output_lv2.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-11-03 18:55:03 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-11-03 18:55:03 +0100
commit618ccf981bf16e848912cf8c4d72f58c7134642a (patch)
tree540fad9cbaa9dbf8d0f1b91adddd5300319cacd7 /lv2/output_lv2.cc
parent3176ea311ab6ad13546f8410f4f2ebc9ef229df3 (diff)
Use Drumgizmo::setSamplerate to control resampler target samplerate.
Diffstat (limited to 'lv2/output_lv2.cc')
-rw-r--r--lv2/output_lv2.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/lv2/output_lv2.cc b/lv2/output_lv2.cc
index b4a6877..ef2500b 100644
--- a/lv2/output_lv2.cc
+++ b/lv2/output_lv2.cc
@@ -28,9 +28,8 @@
#include <string.h>
-OutputLV2::OutputLV2(double sample_rate)
+OutputLV2::OutputLV2()
{
- this->sample_rate = sample_rate;
for(size_t i = 0; i < NUM_OUTPUTS; i++) {
outputPorts[i].size = 0;
outputPorts[i].samples = NULL;
@@ -83,9 +82,3 @@ sample_t *OutputLV2::getBuffer(int ch)
if(ch < NUM_OUTPUTS) return outputPorts[ch].samples;
return NULL;
}
-
-size_t OutputLV2::samplerate()
-{
- return sample_rate;
-}
-