Browse Source

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...

tags/1.2.0
xenakios 8 years ago
parent
commit
3401384eff
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      Source/PluginProcessor.cpp

+ 0
- 5
Source/PluginProcessor.cpp View File

@@ -30,8 +30,6 @@ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

String g_plugintitle{ "PaulXStretch 1.1.3" };

std::set<PaulstretchpluginAudioProcessor*> 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<breakpoint_envelope>();
@@ -173,7 +169,6 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()

PaulstretchpluginAudioProcessor::~PaulstretchpluginAudioProcessor()
{
g_activeprocessors.erase(this);
m_thumb->removeAllChangeListeners();
m_thumb = nullptr;
m_bufferingthread.stopThread(1000);


Loading…
Cancel
Save