I am trying to get the AudioPlayHead passed to plugins instantiated in an AudioProcessorGraph (so their tempo related functions work). I thought it would be enough to set the playhead on the graph before calling processBlock like this:
graph.setPlayHead( playHead );
graph.processBlock (buffer,midiMessages);
but this does not work. Should it work? Did I miss out some step that would make the playHead propagate to all nodes in the graph?
It does work if I call setPlayHead directly on each of the AudioProcessors in the graph’s nodes.