Browse Source

Misc

tags/1.9.4
falkTX 12 years ago
parent
commit
361324d4a2
3 changed files with 15 additions and 13 deletions
  1. +1
    -1
      source/plugin/Makefile
  2. +1
    -1
      source/plugin/carla-native-lv2-export.cpp
  3. +13
    -11
      source/plugin/carla-native-lv2.cpp

+ 1
- 1
source/plugin/Makefile View File

@@ -167,7 +167,7 @@ carla-native.lv2/carla-native.so: carla-native-lv2.cpp.o $(LIBS)
# --------------------------------------------------------------

.FORCE:
.PHONY: .FORCE
.PHONY: .FORCE carla-native-lv2-export

../backend/carla_engine_plugin.a: .FORCE
$(MAKE) -C ../backend/engine ../carla_engine_plugin.a


+ 1
- 1
source/plugin/carla-native-lv2-export.cpp View File

@@ -1,6 +1,6 @@
/*
* Carla Native Plugins
* Copyright (C) 2013 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2013-2014 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as


+ 13
- 11
source/plugin/carla-native-lv2.cpp View File

@@ -1,6 +1,6 @@
/*
* Carla Native Plugins
* Copyright (C) 2013 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2013-2014 Filipe Coelho <falktx@falktx.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -263,13 +263,14 @@ public:
gActivePlugins.removeFirstMatchingValue(this);

JUCE_AUTORELEASEPOOL

MessageManagerLock mmLock;

if (gActivePlugins.size() == 0)
{
JuceMessageThread::deleteInstance();
shutdownJuce_GUI();
MessageManagerLock mmLock;

if (gActivePlugins.size() == 0)
{
JuceMessageThread::deleteInstance();
shutdownJuce_GUI();
}
}

fUiWasShown = false;
@@ -645,11 +646,12 @@ protected:
if (fDescriptor->hints & PLUGIN_NEEDS_UI_JUCE)
{
JUCE_AUTORELEASEPOOL

if (gActivePlugins.size() == 0)
{
initialiseJuce_GUI();
JuceMessageThread::getInstance();
if (gActivePlugins.size() == 0)
{
initialiseJuce_GUI();
JuceMessageThread::getInstance();
}
}

fDescriptor->ui_show(fHandle, true);


Loading…
Cancel
Save