diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-29 04:40:00 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-29 04:40:00 +0200 |
commit | 8e4eb42833786b7b65ff947af18121b1fa5fca9e (patch) | |
tree | 5a3e93ef17fa862c4aa207f196cf6d93c849344e /libs/ardour/internal_send.cc | |
parent | e74d1f1048fdc8d6de7c33ab6115a85dcac1bd1e (diff) |
Fix send mono to stereo (or N to M; M > N) sends #7409 part 1/2
Diffstat (limited to 'libs/ardour/internal_send.cc')
-rw-r--r-- | libs/ardour/internal_send.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/internal_send.cc b/libs/ardour/internal_send.cc index 3c01e1acc2..e7db47ca9d 100644 --- a/libs/ardour/internal_send.cc +++ b/libs/ardour/internal_send.cc @@ -97,6 +97,12 @@ InternalSend::use_target (boost::shared_ptr<Route> sendto) mixbufs.ensure_buffers (_send_to->internal_return()->input_streams(), _session.get_block_size()); mixbufs.set_count (_send_to->internal_return()->input_streams()); + _meter->configure_io (ChanCount (DataType::AUDIO, pan_outs()), ChanCount (DataType::AUDIO, pan_outs())); + + if (_delayline) { + _delayline->configure_io (ChanCount (DataType::AUDIO, pan_outs()), ChanCount (DataType::AUDIO, pan_outs())); + } + reset_panner (); set_name (sendto->name()); |