Show max # of output for re-configurable I/O plugins

This commit is contained in:
Robin Gareus
2019-10-15 14:52:40 +02:00
parent bcd1391bf7
commit 7030ab064f

View File

@@ -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) {