diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-10 04:54:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-10 04:54:59 +0100 |
commit | b116a68a5cea41cc836946bd392197998b93f142 (patch) | |
tree | cb106737b0c8460366b976321f056c8c08928df9 /gtk2_ardour/mixer_strip.cc | |
parent | d253d4973916e1a0f26e9b8e3ea80c50fa8c4b8d (diff) |
C++ implementation of fan_out_instrument.lua
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index c26b18942a..12a0d837ad 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1696,6 +1696,11 @@ MixerStrip::build_route_ops_menu () items.push_back (MenuElem (_("Pin Connections..."), sigc::mem_fun (*this, &RouteUI::manage_pins))); } + if (_route->the_instrument () && _route->the_instrument ()->output_streams().n_audio() > 2) { + // TODO ..->n_audio() > 1 && separate_output_groups) hard to check here every time. + items.push_back (MenuElem (_("Fan Out Instrument"), sigc::bind (sigc::mem_fun (*this, &RouteUI::fan_out), false))); + } + items.push_back (SeparatorElem()); items.push_back (MenuElem (_("Adjust Latency..."), sigc::mem_fun (*this, &RouteUI::adjust_latency))); |