From 997cf03cfea56ac238cf025e1d3172add664ac76 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 30 Mar 2016 02:10:22 +0200 Subject: fix copy/paste typo --- libs/ardour/audio_unit.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/audio_unit.cc') diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index b08d122e7e..25c243ccdb 100644 --- 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 >::iterator i = io_configs.begin(); i != io_configs.end(); ++i) { - int possible_in = io["audio_in"]; - int possible_out = io["audio_out"]; + int32_t possible_in = i->first; + int32_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 -- cgit v1.2.3