aboutsummaryrefslogtreecommitdiffstats
path: root/lvz
diff options
context:
space:
mode:
Diffstat (limited to 'lvz')
-rw-r--r--lvz/audioeffectx.h1
-rw-r--r--lvz/wrapper.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/lvz/audioeffectx.h b/lvz/audioeffectx.h
index ecacfcd..f076e04 100644
--- a/lvz/audioeffectx.h
+++ b/lvz/audioeffectx.h
@@ -94,6 +94,7 @@ public:
virtual void canProcessReplacing() {}
virtual void isSynth() {}
virtual void process(float **inputs, float **outputs, LvzInt32 nframes) = 0;
+ virtual void processReplacing(float **inputs, float **outputs, LvzInt32 nframes) = 0;
virtual void setBlockSize(LvzInt32 blockSize) {}
virtual void setNumInputs(LvzInt32 num) { numInputs = num; }
virtual void setNumOutputs(LvzInt32 num) { numOutputs = num; }
diff --git a/lvz/wrapper.cpp b/lvz/wrapper.cpp
index a7fbc7c..ac738fb 100644
--- a/lvz/wrapper.cpp
+++ b/lvz/wrapper.cpp
@@ -116,7 +116,7 @@ mda_run(LV2_Handle instance, uint32_t sample_count)
}
}
- plugin->effect->process(plugin->inputs, plugin->outputs, sample_count);
+ plugin->effect->processReplacing(plugin->inputs, plugin->outputs, sample_count);
}