getNextBestLayout is not a virtual function

multibus

#1

Hi.
I’m looking over the JUCE multi bus APIs.

I found a description of getNextBestLayout which has an override specifier.
https://juce.com/doc/classAudioProcessor#a2e521ddcd81bad3b92b0b292a8947074

But AudioProcessor::getNextBestLayout() is not declared as a virtual member function.

Is the document something wrong or out-dated?
Or should AudioProcessor::getNextBestLayout() be a virtual function?

Thanks.


#2

Yes, looks like a documentation typo to me. I think I might leave this for Fabian to correct when he gets back though, as he’s the only person who really understands the bus layout stuff!