From 4f4e47bada73be219b414019ea5353503a2479d2 Mon Sep 17 00:00:00 2001 From: George Reales Date: Sun, 11 Dec 2022 11:14:45 +0100 Subject: [PATCH] JUCE 7.0.3 support --- .../Standalone/juce_StandaloneFilterWindow.h | 10 +- OB-Xd Linux.jucer | 140 ++++++++++++++++++ OB-Xd.jucer | 40 ++--- README.md | 2 +- Source/PluginEditor.cpp | 2 +- 5 files changed, 156 insertions(+), 38 deletions(-) create mode 100644 OB-Xd Linux.jucer diff --git a/Modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h b/Modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h index 3c5b6b6..c5dca01 100644 --- a/Modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h +++ b/Modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h @@ -425,7 +425,7 @@ private: On some platforms (such as iOS 10), the expected buffer size reported in audioDeviceAboutToStart may be smaller than the blocks passed to - audioDeviceIOCallback. This can lead to out-of-bounds reads if the render + audioDeviceIOCallbackWithContext. This can lead to out-of-bounds reads if the render callback depends on additional buffers which were initialised using the smaller size. @@ -448,9 +448,9 @@ private: inner.audioDeviceAboutToStart (device); } - void audioDeviceIOCallbackWithContext (const float** inputChannelData, + void audioDeviceIOCallbackWithContext (const float* const* inputChannelData, int numInputChannels, - float** outputChannelData, + float* const* outputChannelData, int numOutputChannels, int numSamples, const AudioIODeviceCallbackContext& context) override @@ -600,9 +600,9 @@ private: }; //============================================================================== - void audioDeviceIOCallbackWithContext (const float** inputChannelData, + void audioDeviceIOCallbackWithContext (const float* const* inputChannelData, int numInputChannels, - float** outputChannelData, + float* const* outputChannelData, int numOutputChannels, int numSamples, const AudioIODeviceCallbackContext& context) override diff --git a/OB-Xd Linux.jucer b/OB-Xd Linux.jucer new file mode 100644 index 0000000..8f84a97 --- /dev/null +++ b/OB-Xd Linux.jucer @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OB-Xd.jucer b/OB-Xd.jucer index d88f52f..029e832 100644 --- a/OB-Xd.jucer +++ b/OB-Xd.jucer @@ -1,6 +1,6 @@ - + pluginFormats="buildAU,buildStandalone,buildVST,buildVST3" buildVST="1" + buildVST3="1" buildAU="1" buildAUv3="0" buildRTAS="0" buildAAX="0" + buildStandalone="1" enableIAA="0" jucerFormatVersion="1" companyCopyright="discoDSP" + companyEmail="contactus@discodsp.com" pluginAAXCategory="2048" + pluginVSTCategory="kPlugCategSynth" displaySplashScreen="1" pluginChannelConfigs="{0,2}" + pluginAUMainType="'aumu'" pluginVST3Category="Synth"> @@ -92,7 +92,8 @@ + aaxFolder="Modules/aax" extraDefs="JUCE_MODAL_LOOPS_PERMITTED=1" + iosDevelopmentTeamID="96UBP6BN94"> @@ -116,29 +117,6 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/README.md b/README.md index 7d08fbf..20593e5 100644 --- a/README.md +++ b/README.md @@ -15,4 +15,4 @@ Latest binaries can be downloaded at https://www.discodsp.com/obxd/ # Building -Source code can be compiled with [JUCE 7.0.2](https://github.com/juce-framework/JUCE/releases/tag/7.0.2). +Source code can be compiled with [JUCE 7.0.3](https://github.com/juce-framework/JUCE/releases/tag/7.0.3). diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index df05431..f8eed9b 100755 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -1037,7 +1037,7 @@ void ObxdAudioProcessorEditor::createMenu () #if defined(JUCE_MAC) || defined(WIN32) PopupMenu helpMenu; helpMenu.setLookAndFeel(&this->getLookAndFeel()); - String version = String("Release ") + String(JucePlugin_VersionString);//.dropLastCharacters(2); + String version = String("Release ") + String(JucePlugin_VersionString).dropLastCharacters(2); helpMenu.addItem(menuScaleNum+4, "Manual", true); helpMenu.addItem(menuScaleNum+3, version, false); menu->addSubMenu("Help", helpMenu, true);