From 2c1f2f49d2ac878c13f9c59d86166a62bbd7573d Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Wed, 8 May 2013 08:52:52 +0000 Subject: Yet another MAJOR audio engine and plugin/synth process chain re-write. And much more, see ChangeLog, May 8 2013. --- muse2/synti/s1/s1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'muse2/synti/s1/s1.cpp') diff --git a/muse2/synti/s1/s1.cpp b/muse2/synti/s1/s1.cpp index 8dd40ff8..890acdf9 100644 --- a/muse2/synti/s1/s1.cpp +++ b/muse2/synti/s1/s1.cpp @@ -59,7 +59,7 @@ class S1 : public MessMono { virtual void note(int channel, int pitch, int velo); //virtual void processMessages(); - virtual void process(float** buffer, int offset, int n); + virtual void process(unsigned pos, float** buffer, int offset, int n); //virtual bool hasGui() const { return true; } //virtual bool guiVisible() const { return _showGui; } //virtual void showGui(bool); @@ -143,7 +143,7 @@ void S1::note(int /*channel*/, int pitch, int velo) // synthesize n samples into buffer+offset //--------------------------------------------------------- -void S1::process(float** buffer, int offset, int n) +void S1::process(unsigned /*pos*/, float** buffer, int offset, int n) { if (gate == 0) return; -- cgit v1.2.3