Restart "AudioComponentRegistrar" process + flush memory cache

Hi,

if you use manual plugin scanning under macos, newly audio components installed while Renoise is opened won’t be realized by Renoise. This can be fixed by restarting the “AudioComponentRegistrar” processes. Those will automatically restart due the daemon nature.

Also if you update a plugin while Renoise is opened and the old version somehow was already loaded by Renoise in this session, Renoise won’t load the new version, even if all instances of the old version are unloaded. This can be fixed by executing the terminal command sync && sudo purge.

Maybe both could be done by Renoise automatically, if you press the rescan plugins button…? Not sure if Renoise has root access though. But maybe Renoise can flash the ram cache itself using own code.

No root rights required for killing the AudioComponentRegistrar processes though.