mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use less-or-equal for configurable I/O chancount
This commit is contained in:
parent
32a97d242e
commit
7f4af33305
1 changed files with 10 additions and 2 deletions
|
|
@ -130,13 +130,21 @@ InstrumentSelector::build_instrument_list()
|
|||
#ifdef MIXBUS
|
||||
uint32_t n_outs = p->max_configurable_ouputs ();
|
||||
if (n_outs > 2) {
|
||||
suffix = string_compose(_("%1 outs"), n_outs);
|
||||
if (p->reconfigurable_io ()) {
|
||||
suffix = string_compose(_("\u2264 %1 outs"), n_outs);
|
||||
} else {
|
||||
suffix = string_compose(_("%1 outs"), n_outs);
|
||||
}
|
||||
}
|
||||
#else
|
||||
if (p->multichannel_name_ambiguity) {
|
||||
uint32_t n_outs = p->max_configurable_ouputs ();
|
||||
if (n_outs > 2) {
|
||||
suffix = string_compose(_("%1 outs"), n_outs);
|
||||
if (p->reconfigurable_io ()) {
|
||||
suffix = string_compose(_("\u2264 %1 outs"), n_outs);
|
||||
} else {
|
||||
suffix = string_compose(_("%1 outs"), n_outs);
|
||||
}
|
||||
} else if (n_outs == 2) {
|
||||
suffix = _("stereo");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue