projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d074b
)
Fix/amend previous commit
author
Robin Gareus
<robin@gareus.org>
Tue, 15 Oct 2019 12:20:52 +0000
(14:20 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 15 Oct 2019 12:20:52 +0000
(14:20 +0200)
gtk2_ardour/instrument_selector.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/instrument_selector.cc
b/gtk2_ardour/instrument_selector.cc
index 323a5b61cb944e122c2439302d0b840bc7933a7e..c2fcff1d8d42117c84348e723af65571b7ee5303 100644
(file)
--- a/
gtk2_ardour/instrument_selector.cc
+++ b/
gtk2_ardour/instrument_selector.cc
@@
-128,12
+128,13
@@
InstrumentSelector::build_instrument_list()
std::string suffix;
#ifdef MIXBUS
+ uint32_t n_outs = p->n_outputs.n_audio();
if (n_outs > 2) {
suffix = string_compose(_("%1 outs"), n_outs);
}
#else
if (p->multichannel_name_ambiguity) {
-
in
t n_outs = p->n_outputs.n_audio();
+
uint32_
t n_outs = p->n_outputs.n_audio();
if (n_outs > 2) {
suffix = string_compose(_("%1 outs"), n_outs);
} else if (n_outs == 2) {