From 3401384eff4ec7c101d7e4455e1789b991ffb8da Mon Sep 17 00:00:00 2001 From: xenakios Date: Mon, 2 Apr 2018 20:20:22 +0300 Subject: [PATCH] Remove the global processor pointer set. If communication between the plugin instances is needed, it should be implemented properly in a way which also supports the plugins running in different processes... --- Source/PluginProcessor.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 05bcf36..6651002 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -30,8 +30,6 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA String g_plugintitle{ "PaulXStretch 1.1.3" }; -std::set g_activeprocessors; - int get_optimized_updown(int n, bool up) { int orig_n = n; while (true) { @@ -67,8 +65,6 @@ inline AudioParameterFloat* make_floatpar(String id, String name, float minv, fl PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor() : m_bufferingthread("pspluginprebufferthread") { - - g_activeprocessors.insert(this); m_playposinfo.timeInSeconds = 0.0; m_free_filter_envelope = std::make_shared(); @@ -173,7 +169,6 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor() PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor() { - g_activeprocessors.erase(this); m_thumb->removeAllChangeListeners(); m_thumb = nullptr; m_bufferingthread.stopThread(1000);