From b68c28986cb2e142c7559351e752e24ef2f19024 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 7 Jul 2016 18:02:36 +0200 Subject: fix AU bus sidechaining --- libs/ardour/audio_unit.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libs') 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 (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 (possible_in + bus_inputs[i], possible_out)); } } } -- cgit v1.2.3