Browse Source

Tweak code to build against latest juce

tags/1.9.8
falkTX 7 years ago
parent
commit
3f0ecb6ce2
3 changed files with 2 additions and 10 deletions
  1. +1
    -3
      source/plugin/carla-lv2.cpp
  2. +1
    -3
      source/plugin/carla-vst.cpp
  3. +0
    -4
      source/utils/CarlaJuceAudioProcessors.cpp

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

@@ -27,9 +27,7 @@
#if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN) #if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN)
# include "juce_gui_basics/juce_gui_basics.h" # include "juce_gui_basics/juce_gui_basics.h"
#else #else
namespace juce {
# include "juce_events/messages/juce_Initialisation.h"
} // namespace juce
# include "juce_events/juce_events.h"
#endif #endif


using juce::FloatVectorOperations; using juce::FloatVectorOperations;


+ 1
- 3
source/plugin/carla-vst.cpp View File

@@ -34,9 +34,7 @@
#if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN) #if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN)
# include "juce_gui_basics/juce_gui_basics.h" # include "juce_gui_basics/juce_gui_basics.h"
#else #else
namespace juce {
# include "juce_events/messages/juce_Initialisation.h"
} // namespace juce
# include "juce_events/juce_events.h"
#endif #endif


#ifdef VESTIGE_HEADER #ifdef VESTIGE_HEADER


+ 0
- 4
source/utils/CarlaJuceAudioProcessors.cpp View File

@@ -24,12 +24,8 @@
#undef KeyPress #undef KeyPress
#include "juce_audio_processors/juce_audio_processors.h" #include "juce_audio_processors/juce_audio_processors.h"


namespace juce {

#include "juce_audio_processors/processors/juce_AudioProcessor.cpp" #include "juce_audio_processors/processors/juce_AudioProcessor.cpp"
#include "juce_audio_processors/processors/juce_AudioProcessorGraph.cpp" #include "juce_audio_processors/processors/juce_AudioProcessorGraph.cpp"
#include "juce_audio_processors/utilities/juce_AudioProcessorParameters.cpp" #include "juce_audio_processors/utilities/juce_AudioProcessorParameters.cpp"


} // namespace juce

#endif // ! CARLA_OS_MAC || CARLA_OS_WIN #endif // ! CARLA_OS_MAC || CARLA_OS_WIN

Loading…
Cancel
Save