Browse Source

Fix some juce warnings and vst3 build

Signed-off-by: falkTX <falktx@gmail.com>
tags/v2.1-alpha1-winvst
parent
commit
f196f54768
3 changed files with 12 additions and 6 deletions
  1. +5
    -3
      source/modules/juce_audio_devices/native/juce_win32_ASIO.cpp
  2. +1
    -1
      source/modules/juce_audio_processors/Makefile
  3. +6
    -2
      source/modules/juce_audio_processors/format_types/juce_VST3Headers.h

+ 5
- 3
source/modules/juce_audio_devices/native/juce_win32_ASIO.cpp View File

@@ -79,9 +79,9 @@ struct ASIOSampleFormat
ASIOSampleFormat (const long type) noexcept ASIOSampleFormat (const long type) noexcept
: bitDepth (24), : bitDepth (24),
littleEndian (true),
byteStride (4),
formatIsFloat (false), formatIsFloat (false),
byteStride (4)
littleEndian (true)
{ {
switch (type) switch (type)
{ {
@@ -1132,7 +1132,9 @@ private:
return CoCreateInstance (classId, 0, CLSCTX_INPROC_SERVER, return CoCreateInstance (classId, 0, CLSCTX_INPROC_SERVER,
classId, (void**) &asioObject) == S_OK; classId, (void**) &asioObject) == S_OK;
} }
#if ! JUCE_MINGW
#if JUCE_MINGW
ignoreUnused(crashed);
#else
__except (EXCEPTION_EXECUTE_HANDLER) { crashed = true; } __except (EXCEPTION_EXECUTE_HANDLER) { crashed = true; }
return false; return false;
#endif #endif


+ 1
- 1
source/modules/juce_audio_processors/Makefile View File

@@ -10,7 +10,7 @@ include ../Makefile.mk


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


BUILD_CXX_FLAGS += $(JUCE_AUDIO_PROCESSORS_FLAGS) -I$(CWD)/includes/ladspa -I$(CWD)/includes/vst2 -I$(CWD)/includes/vst3 -I..
BUILD_CXX_FLAGS += $(JUCE_AUDIO_PROCESSORS_FLAGS) -I$(CWD)/includes/vst3sdk -I..


ifeq ($(CARLA_VESTIGE_HEADER),true) ifeq ($(CARLA_VESTIGE_HEADER),true)
BUILD_CXX_FLAGS += -DVESTIGE_HEADER BUILD_CXX_FLAGS += -DVESTIGE_HEADER


+ 6
- 2
source/modules/juce_audio_processors/format_types/juce_VST3Headers.h View File

@@ -90,13 +90,17 @@
#define _set_abort_behavior(...) #define _set_abort_behavior(...)
#endif #endif
#include <base/source/baseiids.cpp> #include <base/source/baseiids.cpp>
#include <base/source/fatomic.cpp>
#if 1
#include <base/source/flock.cpp>
#else
#include <base/source/fatomic.cpp>
#include <base/source/fthread.cpp>
#endif
#include <base/source/fbuffer.cpp> #include <base/source/fbuffer.cpp>
#include <base/source/fdebug.cpp> #include <base/source/fdebug.cpp>
#include <base/source/fobject.cpp> #include <base/source/fobject.cpp>
#include <base/source/fstreamer.cpp> #include <base/source/fstreamer.cpp>
#include <base/source/fstring.cpp> #include <base/source/fstring.cpp>
#include <base/source/fthread.cpp>
#include <base/source/updatehandler.cpp> #include <base/source/updatehandler.cpp>
#include <pluginterfaces/base/conststringtable.cpp> #include <pluginterfaces/base/conststringtable.cpp>
#include <pluginterfaces/base/funknown.cpp> #include <pluginterfaces/base/funknown.cpp>


Loading…
Cancel
Save