From c40ddfc0eebbcb3333d6cc9e3df7fb62ecb45941 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Sep 2007 17:36:38 +0000 Subject: Better driver interface for input/output. MIDI output (pass-through anyway, plugin->output is still screwy). Fix crash on failure to instantiate LV2 plugin. git-svn-id: http://svn.drobilla.net/lad/ingen@786 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/DuplexPort.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libs/engine/DuplexPort.cpp') diff --git a/src/libs/engine/DuplexPort.cpp b/src/libs/engine/DuplexPort.cpp index f0b138ed..6c195e87 100644 --- a/src/libs/engine/DuplexPort.cpp +++ b/src/libs/engine/DuplexPort.cpp @@ -54,7 +54,7 @@ DuplexPort::pre_process(SampleCount nframes, FrameTime start, FrameTime end) } void -DuplexPort::process(ProcessContext& events, SampleCount nframes, FrameTime start, FrameTime end) +DuplexPort::process(ProcessContext& context, SampleCount nframes, FrameTime start, FrameTime end) { } @@ -64,9 +64,9 @@ DuplexPort::post_process(SampleCount nframes, FrameTime start, FrameTime end) { // Think about it... - if (_is_output) - InputPort::pre_process(nframes, start, end); - else +// if (_is_output) +// InputPort::pre_process(nframes, start, end); +//else OutputPort::pre_process(nframes, start, end); } -- cgit v1.2.1