projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d73df3d
)
fix copy/paste typo
author
Robin Gareus
<robin@gareus.org>
Wed, 30 Mar 2016 00:10:22 +0000
(
02:10
+0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 30 Mar 2016 00:10:22 +0000
(
02:10
+0200)
libs/ardour/audio_unit.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audio_unit.cc
b/libs/ardour/audio_unit.cc
index b08d122e7efd387dec93f5f87270c8ec608065c3..25c243ccdbff242f03ed88ed1d001fd1040865a0 100644
(file)
--- a/
libs/ardour/audio_unit.cc
+++ b/
libs/ardour/audio_unit.cc
@@
-1346,8
+1346,8
@@
AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
if (!found && imprecise) {
/* try harder */
for (vector<pair<int,int> >::iterator i = io_configs.begin(); i != io_configs.end(); ++i) {
- int
possible_in = io["audio_in"]
;
- int
possible_out = io["audio_out"]
;
+ int
32_t possible_in = i->first
;
+ int
32_t possible_out = i->second
;
assert (possible_in > 0); // all other cases will have been matched above
assert (possible_out !=0 || possible_in !=0); // already handled above