mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix AU sidechain busses
This commit is contained in:
parent
8507d2c9dd
commit
b6ccf0e223
1 changed files with 4 additions and 3 deletions
|
|
@ -1263,12 +1263,13 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
|
||||||
for (vector<pair<int,int> >::const_iterator i = ioc.begin(); i != ioc.end(); ++i) {
|
for (vector<pair<int,int> >::const_iterator i = ioc.begin(); i != ioc.end(); ++i) {
|
||||||
int32_t possible_in = i->first;
|
int32_t possible_in = i->first;
|
||||||
int32_t possible_out = i->second;
|
int32_t possible_out = i->second;
|
||||||
if (possible_in <= 1 || possible_out <= 1) {
|
if (possible_in < 1 || possible_out < 1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for (uint32_t i = 1; i < input_elements; ++i) {
|
for (uint32_t i = 1; i < input_elements; ++i) {
|
||||||
// TODO: consider up-to bus_inputs[i]
|
for (uint32_t j = 0; j < bus_inputs[i]; ++j) {
|
||||||
io_configs.push_back (pair<int,int> (possible_in + bus_inputs[i], possible_out));
|
io_configs.push_back (pair<int,int> (possible_in + j, possible_out));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue