diff options
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); |