summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-04 01:29:33 +0000
committerDavid Robillard <d@drobilla.net>2007-07-04 01:29:33 +0000
commitb7c5e24f4a10558942cde30c3cc4eb995846df3d (patch)
tree21eb622a75d375d3254a9584990b40c55a0b704c /src/libs/engine
parentc6b1d62cdb416a0a0c9dd94936e44545f23a688c (diff)
downloadingen-b7c5e24f4a10558942cde30c3cc4eb995846df3d.tar.gz
ingen-b7c5e24f4a10558942cde30c3cc4eb995846df3d.tar.bz2
ingen-b7c5e24f4a10558942cde30c3cc4eb995846df3d.zip
Allow setting control values out of range.
Move to glade-3 (files hopefully compatible?). git-svn-id: http://svn.drobilla.net/lad/ingen@567 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/MidiControlNode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/engine/MidiControlNode.cpp b/src/libs/engine/MidiControlNode.cpp
index a90416e2..05454bdb 100644
--- a/src/libs/engine/MidiControlNode.cpp
+++ b/src/libs/engine/MidiControlNode.cpp
@@ -75,6 +75,11 @@ MidiControlNode::process(SampleCount nframes, FrameTime start, FrameTime end)
assert(midi_in->this_nframes() == nframes);
while (midi_in->get_event(&timestamp, &size, &buffer) < nframes) {
+
+ cerr << "EVENT: ";
+ for (size_t i=0; i < size; ++i)
+ cerr << buffer[i] << " ";
+ cerr << endl;
//const FrameTime time = start + (FrameTime)timestamp;