Hi Jules & community,
I was wondering why,does the AudioProcessorGraph own the AudioProcessors ?
addNode doc says :
“This creates a new node in the graph, for the specified processor. Once you have added a processor to the graph, the graph owns it and will delete it later when it is no longer needed.”
This is a problem, if for example, you want to add your AudioProcessor to several graphs for instance. Or if your AudioProcessor isn’t dynamicaly allocated (double delete at the end of the program).
Woud it be possible to have a boolean, non-mandatory parameter to addNode to choose if we want to keep the AudioProcessor’s ownership ?