diff options
author | Robin Gareus <robin@gareus.org> | 2013-08-02 03:39:00 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-08-02 03:39:00 +0200 |
commit | bfd50cdeb0416b106a7813177148dffb1af6db8e (patch) | |
tree | a9c8160d3dec435f72c5e241645623bd2f98db3f /libs/ardour/return.cc | |
parent | 28f3d76e7cd66a2b62b51eb640235cc3952da3e2 (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.cc | 2 |
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; |