diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-15 14:52:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-15 14:52:40 +0200 |
commit | 7030ab064f4fe5dda1915aa9cdf95e0e702e434a (patch) | |
tree | cd2a5bd793010a42250e5375b7955bb0b3ae1373 /gtk2_ardour/instrument_selector.cc | |
parent | bcd1391bf745f69f3689b9885f1b99dda9649587 (diff) |
Show max # of output for re-configurable I/O plugins
Diffstat (limited to 'gtk2_ardour/instrument_selector.cc')
-rw-r--r-- | gtk2_ardour/instrument_selector.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/instrument_selector.cc b/gtk2_ardour/instrument_selector.cc index c2fcff1d8d..5a60d747a3 100644 --- a/gtk2_ardour/instrument_selector.cc +++ b/gtk2_ardour/instrument_selector.cc @@ -128,13 +128,13 @@ InstrumentSelector::build_instrument_list() std::string suffix; #ifdef MIXBUS - uint32_t n_outs = p->n_outputs.n_audio(); + uint32_t n_outs = p->max_configurable_ouputs (); if (n_outs > 2) { suffix = string_compose(_("%1 outs"), n_outs); } #else if (p->multichannel_name_ambiguity) { - uint32_t n_outs = p->n_outputs.n_audio(); + uint32_t n_outs = p->max_configurable_ouputs (); if (n_outs > 2) { suffix = string_compose(_("%1 outs"), n_outs); } else if (n_outs == 2) { |