diff options
author | David Robillard <d@drobilla.net> | 2007-07-03 04:42:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-03 04:42:41 +0000 |
commit | 0a4dfb16428463d10d12a821afaed866a701550d (patch) | |
tree | 7505ff69fa98bea30fd16b8c90a02e77aa1f7b54 /src/libs/engine/MidiControlNode.cpp | |
parent | 06548d893646764cbda3bef2f440b953b1716ae5 (diff) | |
download | ingen-0a4dfb16428463d10d12a821afaed866a701550d.tar.gz ingen-0a4dfb16428463d10d12a821afaed866a701550d.tar.bz2 ingen-0a4dfb16428463d10d12a821afaed866a701550d.zip |
Fix crash on MIDI controller receiving.
Fixed various plugin loading related bugs.
Fix strange liblo bug.. maybe..
Little bit of preliminary LV2 GUI stuff.
git-svn-id: http://svn.drobilla.net/lad/ingen@561 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/MidiControlNode.cpp')
-rw-r--r-- | src/libs/engine/MidiControlNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/MidiControlNode.cpp b/src/libs/engine/MidiControlNode.cpp index abe930c8..a90416e2 100644 --- a/src/libs/engine/MidiControlNode.cpp +++ b/src/libs/engine/MidiControlNode.cpp @@ -76,10 +76,10 @@ MidiControlNode::process(SampleCount nframes, FrameTime start, FrameTime end) while (midi_in->get_event(×tamp, &size, &buffer) < nframes) { - const FrameTime time = start + (FrameTime)timestamp; + //const FrameTime time = start + (FrameTime)timestamp; if (size >= 3 && (buffer[0] & 0xF0) == MIDI_CMD_CONTROL) - control(buffer[1], buffer[2], time); + control(buffer[1], buffer[2], (SampleCount)timestamp); } NodeBase::post_process(nframes, start, end); |