Best method to remove plugin from pluginList

Hi I have an AudioTrack with some plugins, I’d like to remove some of these, I saw that pluginList doesn’t have something as removePluginAtIndex(int) or removePlugin(Plugin*), so which the best way to achieve this?

Thank you in advice!

You want to use either Plugin::deleteFromParent() or Plugin::removeFromParent(). This will handle the case of if the plugin is on a clip, track, master, etc.

1 Like

really thank you!!