diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-07 18:02:36 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-07 18:18:06 +0200 |
commit | b68c28986cb2e142c7559351e752e24ef2f19024 (patch) | |
tree | b52b522e781272892ce36a447cd3db609d67adf3 /libs/ardour/audio_unit.cc | |
parent | 53b51ee536bbd804c5d6f07c00c3ca1133478743 (diff) |
fix AU bus sidechaining
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index d276320d33..74e0cc2800 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -1267,9 +1267,10 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha continue; } for (uint32_t i = 1; i < input_elements; ++i) { - for (uint32_t j = 0; j < bus_inputs[i]; ++j) { - io_configs.push_back (pair<int,int> (possible_in + j, possible_out)); - } + // can't use up-to bus_inputs[] + // waves' SC-C6(s) for example fails to configure with only 1 input + // on the 2nd bus. + io_configs.push_back (pair<int,int> (possible_in + bus_inputs[i], possible_out)); } } } |