I recently had a host call setProcessingPrecision on my plugin (which uses an AudioProcessorGraph) twice: first with single precision, then with double precision. In that case, all nodes are prepared with single precision and then marked as “prepared”, so they were not notified of the change in processing precision --> crash! So I propose to implement setProcessingPrecision for the AudioProcessorGraph class and add a loop over the nodes there to unprepare them when the processing precision changes.
No thoughts on this?
Thanks for reporting, I’ve pushed a fix now. Please let us know if you run into any other issues.
Thanks for the thorough fix!