diff options
author | Tim E. Real <termtech@rogers.com> | 2013-05-08 08:52:52 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2013-05-08 08:52:52 +0000 |
commit | 2c1f2f49d2ac878c13f9c59d86166a62bbd7573d (patch) | |
tree | 96bb20b3f43823fa51cf49cfa25fae49f73882ce /muse2/synti/libsynti | |
parent | 8a491e19e6520f2680bf51aec1ca7e2070ccaec7 (diff) |
Yet another MAJOR audio engine and plugin/synth process chain re-write.
And much more, see ChangeLog, May 8 2013.
Diffstat (limited to 'muse2/synti/libsynti')
-rw-r--r-- | muse2/synti/libsynti/mess.cpp | 2 | ||||
-rw-r--r-- | muse2/synti/libsynti/mess.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/muse2/synti/libsynti/mess.cpp b/muse2/synti/libsynti/mess.cpp index de24ac00..08dc8223 100644 --- a/muse2/synti/libsynti/mess.cpp +++ b/muse2/synti/libsynti/mess.cpp @@ -149,6 +149,8 @@ bool Mess::processEvent(const MusECore::MidiPlayEvent& ev) return setController(ev.channel(), MusECore::CTRL_PITCH, ev.dataA()); case MusECore::ME_AFTERTOUCH: return setController(ev.channel(), MusECore::CTRL_AFTERTOUCH, ev.dataA()); + case MusECore::ME_PROGRAM: + return setController(ev.channel(), MusECore::CTRL_PROGRAM, ev.dataA()); } return false; } diff --git a/muse2/synti/libsynti/mess.h b/muse2/synti/libsynti/mess.h index db74c1c8..66022bf7 100644 --- a/muse2/synti/libsynti/mess.h +++ b/muse2/synti/libsynti/mess.h @@ -76,7 +76,7 @@ class Mess { void setSampleRate(int r) { _sampleRate = r; } virtual void processMessages() { }; - virtual void process(float** data, int offset, int len) = 0; + virtual void process(unsigned pos, float** data, int offset, int len) = 0; // the synti has to (re-)implement processEvent() or provide // some of the next three functions: |