Browse Source

Misc fixes

tags/1.9.6
falkTX 9 years ago
parent
commit
341e8181fc
4 changed files with 18 additions and 1 deletions
  1. +4
    -0
      source/Makefile.mk
  2. +8
    -1
      source/native-plugins/Makefile
  3. +1
    -0
      source/plugin/carla-base.cpp
  4. +5
    -0
      source/utils/CarlaMutex.hpp

+ 4
- 0
source/Makefile.mk View File

@@ -392,6 +392,10 @@ NATIVE_PLUGINS_LIBS += $(shell pkg-config --libs ntk_images ntk)
endif endif
endif endif


ifeq ($(EXPERIMENTAL_PLUGINS),true)
NATIVE_PLUGINS_LIBS += $(shell pkg-config --libs freetype2 fftw3f x11) -lclthreads -lclxclient
endif

# -------------------------------------------------------------- # --------------------------------------------------------------
# Set app extension # Set app extension




+ 8
- 1
source/native-plugins/Makefile View File

@@ -223,7 +223,7 @@ $(OBJDIR)/distrho-pingpongpan.cpp.o: distrho-pingpongpan.cpp
$(OBJDIR)/distrho-prom.cpp.o: distrho-prom.cpp $(OBJDIR)/distrho-prom.cpp.o: distrho-prom.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling $<" @echo "Compiling $<"
@$(CXX) $< $(BUILD_CXX_FLAGS) -DDISTRHO_NAMESPACE=DISTRHO_ProM -Idistrho-prom -I$(CWD)/modules/dgl -Wno-effc++ -c -o $@
@$(CXX) $< $(BUILD_CXX_FLAGS) $(PROJECTM_FLAGS) -DDISTRHO_NAMESPACE=DISTRHO_ProM -Idistrho-prom -I$(CWD)/modules/dgl -Wno-effc++ -c -o $@


# ---------------------------------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------------------------------


@@ -249,6 +249,13 @@ $(OBJDIR)/zynaddsubfx-ui.cpp.o: zynaddsubfx-ui.cpp $(ZYN_UI_FILES_H) $(ZYN_UI_FI


# ---------------------------------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------------------------------


$(OBJDIR)/zita-jaaa.cpp.o: zita-jaaa.cpp
-@mkdir -p $(OBJDIR)
@echo "Compiling $<"
@$(CXX) $< $(BUILD_CXX_FLAGS) -DVERSION=\"0.8.4\" $(shell pkg-config --cflags freetype2 fftw3f x11) -c -o $@

# ----------------------------------------------------------------------------------------------------------------------------

$(OBJDIR)/%.cpp.o: %.cpp $(OBJDIR)/%.cpp.o: %.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling $<" @echo "Compiling $<"


+ 1
- 0
source/plugin/carla-base.cpp View File

@@ -71,6 +71,7 @@ struct PluginListManager {
std::strcmp(desc->label, "mverb" ) == 0 || std::strcmp(desc->label, "mverb" ) == 0 ||
std::strcmp(desc->label, "nekobi" ) == 0 || std::strcmp(desc->label, "nekobi" ) == 0 ||
std::strcmp(desc->label, "pingpongpan" ) == 0 || std::strcmp(desc->label, "pingpongpan" ) == 0 ||
std::strcmp(desc->label, "prom" ) == 0 ||
std::strcmp(desc->label, "vexsynth" ) == 0) std::strcmp(desc->label, "vexsynth" ) == 0)
{ {
continue; continue;


+ 5
- 0
source/utils/CarlaMutex.hpp View File

@@ -223,6 +223,11 @@ public:
fMutex.unlock(); fMutex.unlock();
} }


bool wasLocked() const noexcept
{
return fLocked;
}

private: private:
const Mutex& fMutex; const Mutex& fMutex;
const bool fLocked; const bool fLocked;


Loading…
Cancel
Save