Okay, to update the host’s latency…
in AudioProcessorGraph::createRenderingOpsForNode() I had to change
if (numOuts == 0)
totalLatency = maxLatency;
to:
if (maxLatency > totalLatency)
totalLatency = maxLatency;
derive AudioProcessorGraph from ChangeBroadcaster and in AudioProcessorGraph::buildRenderingSequence() call
sendChangeMessage();
at the end of the method. In my main processor class handle the ChangeCallback and update the latency.
Rail