Breaking Change: AudioProcessor::getTailLengthSeconds can now return infinity for VST/VST3/AU/AUv3


#1

With commit 9b81643 on develop, AudioProcessor::getTailLengthSeconds can now return infinity for VST/VST3/AU/AUv3s which have an infinite tail time.

Previously, the VST3 and VST2 hosting code would limit the return value to a reasonably high value making it impossible to return an infinite tail time.

If you are directly using the result of getTailLengthSeconds to allocate a buffer in your host, then your host will now likely crash when loading a plug-in with an infinite tail time.

You should modify your code to ensure that the buffer size is sane before passing it to an allocating function.

This change is necessary as it was previously impossible to create a JUCE plug-in with an infinite tail time. It was also not possible for a host to reliably query a plug-in for an infinite tail time.


Possible bug in VST3 hosting code (tail time)