I am working on a plugin with dynamic buses and Multibus API with named buses.
I really like the new Multibus API.
But it seems to me that changing the number of buses during runtime is not possible with bus names.
I can change the bus layout with
AudioProcessor::setBusesLayout, which applies my new
BusesLayout, but without bus names, as it includes only
AudioProcessor::addBus, which also does not include bus names (
removeBusof course is fine)
So it seems to me that bus names can only be included in the constructor - the only place where I can include
BusesProperties - but not during runtime…
To solve it, I’d like to propose two changes:
- add a new method
setBusesLayout(and internally similar to
initialise, just that buses need to be cleared before)
AudioProcessor::createBuspublic - tried that and it works fine for me
What do you think? Or am I mislead?