From 0a4dfb16428463d10d12a821afaed866a701550d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 Jul 2007 04:42:41 +0000 Subject: 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 --- src/libs/engine/MidiControlNode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/MidiControlNode.cpp') 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); -- cgit v1.2.1