Is there a way to know if a plugin is deactivated in a DAW?
I am working on a delay and, when the audio stops, I want the feedback line to continue playing (that’s what Ableton stock plugins do).
However, when the user deactivates the plugin, I’d like to reset the feedback line and stop it. I searched in the doc but couldn’t find anything, is there a way to do it?
Looks like there is no universal way to detect this. Some hosts will set a flag, and leave it up to the plugin develop in check if bypassed is enabled - the process function is still called in this instance. Some host will simple stop processing, thus stop calling the process method, and some host will remove the plugin from the audio graph. I must look into it a little more. It’s a usual thing to be able to detect.