2
0
Fork 0

JUCE 6.1.6 update and fixes

JUCE framework updated to 6.1.6
Standalone preset changing issue fix
This commit is contained in:
George Reales 2022-04-05 14:04:58 +02:00
parent 0907814069
commit 3591bfb81e
6 changed files with 31 additions and 16 deletions

View file

@ -104,10 +104,12 @@
iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight" iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight"
UIStatusBarHidden="1" iosBackgroundAudio="1" iosBackgroundBle="1" UIStatusBarHidden="1" iosBackgroundAudio="1" iosBackgroundBle="1"
smallIcon="lWChlc" bigIcon="lWChlc" iosAppGroupsId="group.com.discodsp.opl" smallIcon="lWChlc" bigIcon="lWChlc" iosAppGroupsId="group.com.discodsp.opl"
extraDefs="JUCE_DISABLE_NATIVE_FILECHOOSERS=1" customXcodeResourceFolders="sbi" extraDefs="JUCE_DISABLE_NATIVE_FILECHOOSERS=1
JUCE_MODAL_LOOPS_PERMITTED=1"
iCloudPermissions="0" UISupportsDocumentBrowser="0" UIFileSharingEnabled="0"> customXcodeResourceFolders="sbi" iCloudPermissions="0" UISupportsDocumentBrowser="0"
UIFileSharingEnabled="0">
<CONFIGURATIONS> <CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" iosCompatibility="11.0" binaryPath="Bin/iOS/Debug"/> <CONFIGURATION isDebug="1" name="Debug" iosCompatibility="11.0" binaryPath="Bin/iOS/Debug"
iosDeploymentTarget="11.0"/>
<CONFIGURATION isDebug="0" name="Release" binaryPath="Bin/iOS/Release"/> <CONFIGURATION isDebug="0" name="Release" binaryPath="Bin/iOS/Release"/>
</CONFIGURATIONS> </CONFIGURATIONS>
<MODULEPATHS> <MODULEPATHS>
@ -130,13 +132,14 @@
</XCODE_IPHONE> </XCODE_IPHONE>
<XCODE_MAC targetFolder="Builds/MacOSX" vstLegacyFolder="modules/vstsdk2.4" <XCODE_MAC targetFolder="Builds/MacOSX" vstLegacyFolder="modules/vstsdk2.4"
vst3Folder="modules/vstsdk3" smallIcon="aNR5I9" bigIcon="aNR5I9" vst3Folder="modules/vstsdk3" smallIcon="aNR5I9" bigIcon="aNR5I9"
aaxFolder="modules/aax" xcodeValidArchs="arm64,x86_64"> aaxFolder="modules/aax" xcodeValidArchs="arm64,x86_64" extraDefs="JUCE_MODAL_LOOPS_PERMITTED=1">
<CONFIGURATIONS> <CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" binaryPath="Bin/MacOS/Debug"/> <CONFIGURATION isDebug="1" name="Debug" binaryPath="Bin/MacOS/Debug"/>
<CONFIGURATION isDebug="0" name="Release" osxCompatibility="10.9 SDK" binaryPath="Bin/MacOS/Release" <CONFIGURATION isDebug="0" name="Release" osxCompatibility="10.9 SDK" binaryPath="Bin/MacOS/Release"
optimisation="6" enablePluginBinaryCopyStep="0"/> optimisation="6" enablePluginBinaryCopyStep="0" macOSDeploymentTarget="10.9"/>
<CONFIGURATION isDebug="0" name="Demo" defines="DEMOVERSION=1" osxCompatibility="10.9 SDK" <CONFIGURATION isDebug="0" name="Demo" defines="DEMOVERSION=1" osxCompatibility="10.9 SDK"
binaryPath="Bin/MacOS/Demo" optimisation="6" enablePluginBinaryCopyStep="0"/> binaryPath="Bin/MacOS/Demo" optimisation="6" enablePluginBinaryCopyStep="0"
macOSDeploymentTarget="10.9"/>
</CONFIGURATIONS> </CONFIGURATIONS>
<MODULEPATHS> <MODULEPATHS>
<MODULEPATH id="juce_video" path="modules"/> <MODULEPATH id="juce_video" path="modules"/>
@ -157,7 +160,7 @@
</MODULEPATHS> </MODULEPATHS>
</XCODE_MAC> </XCODE_MAC>
<LINUX_MAKE targetFolder="Builds/Linux" vstLegacyFolder="modules/vstsdk2.4" <LINUX_MAKE targetFolder="Builds/Linux" vstLegacyFolder="modules/vstsdk2.4"
extraLinkerFlags="-no-pie"> extraLinkerFlags="-no-pie" extraDefs="JUCE_MODAL_LOOPS_PERMITTED=1">
<CONFIGURATIONS> <CONFIGURATIONS>
<CONFIGURATION isDebug="0" name="Release" libraryPath="/usr/X11R6/lib/" linuxArchitecture="-m64" <CONFIGURATION isDebug="0" name="Release" libraryPath="/usr/X11R6/lib/" linuxArchitecture="-m64"
headerPath="../../JuceLibraryCode&#10;../../Source&#10;../Modules/vstsdk2.4&#10;/usr/include/freetype2&#10;/usr/include" headerPath="../../JuceLibraryCode&#10;../../Source&#10;../Modules/vstsdk2.4&#10;/usr/include/freetype2&#10;/usr/include"
@ -188,7 +191,7 @@
</LINUX_MAKE> </LINUX_MAKE>
<VS2019 targetFolder="Builds/VisualStudio2019" smallIcon="aNR5I9" bigIcon="aNR5I9" <VS2019 targetFolder="Builds/VisualStudio2019" smallIcon="aNR5I9" bigIcon="aNR5I9"
vstLegacyFolder="modules/vstsdk2.4" vst3Folder="modules/vstsdk3" vstLegacyFolder="modules/vstsdk2.4" vst3Folder="modules/vstsdk3"
aaxFolder="modules/aax"> aaxFolder="modules/aax" extraDefs="JUCE_MODAL_LOOPS_PERMITTED=1">
<CONFIGURATIONS> <CONFIGURATIONS>
<CONFIGURATION isDebug="1" name="Debug" binaryPath="Bin/Windows/Debug"/> <CONFIGURATION isDebug="1" name="Debug" binaryPath="Bin/Windows/Debug"/>
<CONFIGURATION isDebug="0" name="Release" binaryPath="Bin/Windows/Release"/> <CONFIGURATION isDebug="0" name="Release" binaryPath="Bin/Windows/Release"/>

0
Source/InstrumentLoader.h Executable file → Normal file
View file

View file

@ -7,12 +7,12 @@
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
and re-saved. and re-saved.
Created with Projucer version: 5.4.7 Created with Projucer version: 6.0.7
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
The Projucer is part of the JUCE library. The Projucer is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd. Copyright (c) 2020 - Raw Material Software Limited.
============================================================================== ==============================================================================
*/ */
@ -87,12 +87,12 @@ PluginEditor::~PluginEditor()
} }
//============================================================================== //==============================================================================
void PluginEditor::paint (Graphics& g) void PluginEditor::paint (juce::Graphics& g)
{ {
//[UserPrePaint] Add your own custom painting code here.. //[UserPrePaint] Add your own custom painting code here..
//[/UserPrePaint] //[/UserPrePaint]
g.fillAll (Colours::black); g.fillAll (juce::Colours::black);
//[UserPaint] Add your own custom painting code here.. //[UserPaint] Add your own custom painting code here..
//[/UserPaint] //[/UserPaint]

View file

@ -7,12 +7,12 @@
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
and re-saved. and re-saved.
Created with Projucer version: 5.4.7 Created with Projucer version: 6.0.7
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
The Projucer is part of the JUCE library. The Projucer is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd. Copyright (c) 2020 - Raw Material Software Limited.
============================================================================== ==============================================================================
*/ */
@ -50,7 +50,7 @@ public:
}; };
//[/UserMethods] //[/UserMethods]
void paint (Graphics& g) override; void paint (juce::Graphics& g) override;
void resized() override; void resized() override;

View file

@ -511,6 +511,9 @@ AdlibBlasterAudioProcessor::AdlibBlasterAudioProcessor()
for (int i = 1; i <= Hiopl::CHANNELS; ++i) for (int i = 1; i <= Hiopl::CHANNELS; ++i)
available_channels.push_back(i); available_channels.push_back(i);
workaround_flag = true;
} }
void AdlibBlasterAudioProcessor::initPrograms() void AdlibBlasterAudioProcessor::initPrograms()
@ -869,7 +872,10 @@ void AdlibBlasterAudioProcessor::endChangeGesture (String name) {
// Parameters which apply directly to the OPL // Parameters which apply directly to the OPL
void AdlibBlasterAudioProcessor::setParameter (int index, float newValue, bool notify, bool updatetoHost) void AdlibBlasterAudioProcessor::setParameter (int index, float newValue, bool notify, bool updatetoHost)
{ {
FloatParameter* p = params[index];
if (workaround_flag) return;
FloatParameter* p = params[index];
p->setParameter(newValue); p->setParameter(newValue);
String name = p->getName(); String name = p->getName();
if (updatetoHost) { if (updatetoHost) {
@ -1253,6 +1259,9 @@ Identifier stringToIdentifier(const String &s)
void AdlibBlasterAudioProcessor::getStateInformation(MemoryBlock& destData) void AdlibBlasterAudioProcessor::getStateInformation(MemoryBlock& destData)
{ {
if (workaround_flag) workaround_flag = false;
ReferenceCountedObjectPtr<DynamicObject> v(new DynamicObject); ReferenceCountedObjectPtr<DynamicObject> v(new DynamicObject);
v->setProperty(stringToIdentifier(PROGRAM_INDEX), i_program); v->setProperty(stringToIdentifier(PROGRAM_INDEX), i_program);

View file

@ -116,6 +116,9 @@ private:
std::unique_ptr<UndoManager> undoManager; std::unique_ptr<UndoManager> undoManager;
std::unique_ptr<AudioProcessorValueTreeState> valueTree; std::unique_ptr<AudioProcessorValueTreeState> valueTree;
bool workaround_flag;
//============================================================================== //==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AdlibBlasterAudioProcessor) JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AdlibBlasterAudioProcessor)
}; };