13
0

Refine 31f79489, de-duplicate AU I/O configurations

This commit is contained in:
Robin Gareus 2018-01-12 01:09:45 +01:00
parent 31f7948936
commit 40498f841d

View File

@ -1278,6 +1278,11 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
// on the 2nd bus.
io_configs.push_back (pair<int,int> (possible_in + bus_inputs[i], possible_out));
}
/* only add additional, optional busses to first available config.
* AUPluginInfo::cached_io_configuration () already incrementally
* adds busses (for instruments w/ multiple configurations)
*/
break;
}
}
@ -1296,6 +1301,11 @@ AUPlugin::can_support_io_configuration (const ChanCount& in, ChanCount& out, Cha
}
io_configs.push_back (pair<int,int> (possible_in, possible_out + c));
}
/* only add additional, optional busses to first available config.
* AUPluginInfo::cached_io_configuration () already incrementally
* adds busses (for instruments w/ multiple configurations)
*/
break;
}
}