I don’t know if I’m doing something wrong, but here’s my problem. I created a AudioProcessorGraph and I add a VST to a node. Everything works. But the graph does not get the playHead from my main AudioProcessor. So I just do this:
Which fixes the problem. But, for every new VST I add to the Graph, I need to do this. I also tried doing it for the graph hoping it would make all new VST Instances to get it too, but it doesn’t.
Shouldn’t everything that gets added to the graph follow the “child” PlayHead too?
Sorry for waking up this old thread, but I was just looking at the docs, and AudioProcessor::setPlayHead is marked as “not for public use” .
Is it because it’s not supposed to be necessary ? Or is it because it’s dangerous to use in our own code ? Looking at the code, it seems perfectly ok to use it …
If we want to do that, we must make the AudioSources holding the file inherit from AudioProcessor, otherwise, you can’t put them into a graph, right ?