Browse Source

Add the patch file for changes for juce-current

tags/2021-01-15
falkTX 4 years ago
parent
commit
9f5cd8631b
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      libs/juce-current/patches/23_fix-juce-includes.patch

+ 26
- 0
libs/juce-current/patches/23_fix-juce-includes.patch View File

@@ -0,0 +1,26 @@
diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
index dbf441fb5..63d931efd 100644
--- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
+++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
@@ -489,7 +489,7 @@ public:
{
const int numChannels = jmax (numIn, numOut);
- AudioBuffer<FloatType> chans (tmpBuffers.channels, isMidiEffect ? 0 : numChannels, numSamples);
+ juce::AudioBuffer<FloatType> chans (tmpBuffers.channels, isMidiEffect ? 0 : numChannels, numSamples);
if (isBypassed)
processor->processBlockBypassed (chans, midiEvents);
diff --git a/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h b/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h
index 4b36f6d64..61dbdeede 100644
--- a/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h
+++ b/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h
@@ -23,6 +23,8 @@
==============================================================================
*/
+#pragma once
+
#include <juce_audio_plugin_client/juce_audio_plugin_client.h>
#include "juce_CreatePluginFilter.h"

Loading…
Cancel
Save