summaryrefslogtreecommitdiff
path: root/libs/ardour/return.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-08-02 03:39:00 +0200
committerRobin Gareus <robin@gareus.org>2013-08-02 03:39:00 +0200
commitbfd50cdeb0416b106a7813177148dffb1af6db8e (patch)
treea9c8160d3dec435f72c5e241645623bd2f98db3f /libs/ardour/return.cc
parent28f3d76e7cd66a2b62b51eb640235cc3952da3e2 (diff)
rework MIDI [processor|plugin] chain
* forward midi-data around plugins that have no MIDI-out * allow to insert plugins with no MIDI-input at a point with one MIDI-channel This works because excess ports (both plugin and route) remain unconnected and use scratch-buffers. Tested with LV2, LXVST and LADSPA. (AU plugins with variable in/out retain the old behavior, no bypass) fixes http://tracker.ardour.org/view.php?id=5630
Diffstat (limited to 'libs/ardour/return.cc')
-rw-r--r--libs/ardour/return.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/return.cc b/libs/ardour/return.cc
index 921be6a53a..4f9e8b958a 100644
--- a/libs/ardour/return.cc
+++ b/libs/ardour/return.cc
@@ -136,7 +136,7 @@ Return::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pfra
}
bool
-Return::can_support_io_configuration (const ChanCount& in, ChanCount& out) const
+Return::can_support_io_configuration (const ChanCount& in, ChanCount& out)
{
out = in + _input->n_ports();
return true;