diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-30 02:10:22 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-30 02:10:22 +0200 |
commit | 997cf03cfea56ac238cf025e1d3172add664ac76 (patch) | |
tree | 2130ac6737461260cc66066e11bc0c3c3c79be43 /libs/ardour/audio_unit.cc | |
parent | d73df3d99007854152fe2e7ff9539dcadf31e15a (diff) |
fix copy/paste typo
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<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"]; + 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 |