Browse Source

Fix regular non-distrho builds

tags/2018-04-16
falkTX 8 years ago
parent
commit
e03c51cccc
3 changed files with 6 additions and 4 deletions
  1. +2
    -0
      libs/juce-plugin/JucePluginMain.cpp
  2. +4
    -0
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessor.cpp
  3. +0
    -4
      libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessor_export.cpp

+ 2
- 0
libs/juce-plugin/JucePluginMain.cpp View File

@@ -38,4 +38,6 @@
#include "modules/juce_audio_plugin_client/utility/juce_PluginUtilities.cpp"
#endif

namespace juce {
#include "modules/juce_audio_processors/processors/juce_AudioProcessor_export.cpp"
}

+ 4
- 0
libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessor.cpp View File

@@ -600,3 +600,7 @@ void AudioPlayHead::CurrentPositionInfo::resetToDefault()
timeSigDenominator = 4;
bpm = 120;
}
#ifdef JucePlugin_PreferredChannelConfigurations
#include "juce_AudioProcessor_export.cpp"
#endif

+ 0
- 4
libs/juce/source/modules/juce_audio_processors/processors/juce_AudioProcessor_export.cpp View File

@@ -1,6 +1,4 @@

namespace juce {

static ThreadLocalValue<AudioProcessor::WrapperType> wrapperTypeBeingCreated;

void JUCE_CALLTYPE AudioProcessor::setTypeOfNextNewPlugin (AudioProcessor::WrapperType type)
@@ -126,5 +124,3 @@ bool AudioProcessor::setPreferredBusArrangement (bool isInput, int busIndex, con

return true;
}

}

Loading…
Cancel
Save