diff options
Diffstat (limited to 'src/libs/engine/LV2Node.cpp')
-rw-r--r-- | src/libs/engine/LV2Node.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp index 7310e86b..888366136 100644 --- a/src/libs/engine/LV2Node.cpp +++ b/src/libs/engine/LV2Node.cpp @@ -25,6 +25,8 @@ #include "OutputPort.h" #include "Plugin.h" #include "AudioBuffer.h" +#include "MidiBuffer.h" +#include "OSCBuffer.h" namespace Ingen { @@ -199,9 +201,9 @@ LV2Node::set_port_buffer(size_t voice, size_t port_num, Buffer* buf) if (buf->type() == DataType::FLOAT) { slv2_instance_connect_port(_instances[voice], port_num, ((AudioBuffer*)buf)->data()); } else if (buf->type() == DataType::MIDI) { - cerr << "Connecting " << path() << ":" << port_num << " -> " << - ((MidiBuffer*)buf)->data() << endl; slv2_instance_connect_port(_instances[voice], port_num, ((MidiBuffer*)buf)->data()); + } else if (buf->type() == DataType::OSC) { + slv2_instance_connect_port(_instances[voice], port_num, ((OSCBuffer*)buf)->data()); } } |