Knowing bus/channel layout in prepareToPlay

Is there a way to know the channel layout the host is preparing to play? Or do I need to be ready for it to change in between every call to processBlock?

Aha getBusesLayout()