diff options
author | Robin Gareus <robin@gareus.org> | 2017-01-21 00:32:15 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-01-21 00:38:43 +0100 |
commit | 7a36ce49256a5aa96084b1f94b4c88bceb083fa5 (patch) | |
tree | 2a031b355f6319e4e7cf50cc5f93d71e0425186a /libs/ardour/session.cc | |
parent | 7960e1ddbfd0af2b9e3a538b67a05266cf0429e6 (diff) |
Instrument insert options:
* allow to directly fan-out when adding a multi-channel instrument
* Mixbus: move multi-channel instruments after Comp & EQ.
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 256100aab4..24a531b424 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2574,7 +2574,12 @@ Session::new_midi_track (const ChanCount& input, const ChanCount& output, bool s if (strict_io) { pi->set_strict_io (true); } + (*r)->add_processor (pi, PreFader); + + if (Profile->get_mixbus () && pi->configured () && pi->output_streams().n_audio() > 2) { + (*r)->move_instrument_down (false); + } } } } @@ -2669,7 +2674,12 @@ Session::new_midi_route (RouteGroup* route_group, uint32_t how_many, string name if (strict_io) { pi->set_strict_io (true); } + (*r)->add_processor (pi, PreFader); + + if (Profile->get_mixbus () && pi->configured () && pi->output_streams().n_audio() > 2) { + (*r)->move_instrument_down (false); + } } } } |