JUCE 6.1.6 update and fixes
JUCE framework updated to 6.1.6 Standalone preset changing issue fix
This commit is contained in:
parent
0907814069
commit
3591bfb81e
6 changed files with 31 additions and 16 deletions
19
OPL.jucer
19
OPL.jucer
|
@ -104,10 +104,12 @@
|
|||
iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight"
|
||||
UIStatusBarHidden="1" iosBackgroundAudio="1" iosBackgroundBle="1"
|
||||
smallIcon="lWChlc" bigIcon="lWChlc" iosAppGroupsId="group.com.discodsp.opl"
|
||||
extraDefs="JUCE_DISABLE_NATIVE_FILECHOOSERS=1" customXcodeResourceFolders="sbi"
|
||||
iCloudPermissions="0" UISupportsDocumentBrowser="0" UIFileSharingEnabled="0">
|
||||
extraDefs="JUCE_DISABLE_NATIVE_FILECHOOSERS=1 JUCE_MODAL_LOOPS_PERMITTED=1"
|
||||
customXcodeResourceFolders="sbi" iCloudPermissions="0" UISupportsDocumentBrowser="0"
|
||||
UIFileSharingEnabled="0">
|
||||
<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"/>
|
||||
</CONFIGURATIONS>
|
||||
<MODULEPATHS>
|
||||
|
@ -130,13 +132,14 @@
|
|||
</XCODE_IPHONE>
|
||||
<XCODE_MAC targetFolder="Builds/MacOSX" vstLegacyFolder="modules/vstsdk2.4"
|
||||
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>
|
||||
<CONFIGURATION isDebug="1" name="Debug" binaryPath="Bin/MacOS/Debug"/>
|
||||
<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"
|
||||
binaryPath="Bin/MacOS/Demo" optimisation="6" enablePluginBinaryCopyStep="0"/>
|
||||
binaryPath="Bin/MacOS/Demo" optimisation="6" enablePluginBinaryCopyStep="0"
|
||||
macOSDeploymentTarget="10.9"/>
|
||||
</CONFIGURATIONS>
|
||||
<MODULEPATHS>
|
||||
<MODULEPATH id="juce_video" path="modules"/>
|
||||
|
@ -157,7 +160,7 @@
|
|||
</MODULEPATHS>
|
||||
</XCODE_MAC>
|
||||
<LINUX_MAKE targetFolder="Builds/Linux" vstLegacyFolder="modules/vstsdk2.4"
|
||||
extraLinkerFlags="-no-pie">
|
||||
extraLinkerFlags="-no-pie" extraDefs="JUCE_MODAL_LOOPS_PERMITTED=1">
|
||||
<CONFIGURATIONS>
|
||||
<CONFIGURATION isDebug="0" name="Release" libraryPath="/usr/X11R6/lib/" linuxArchitecture="-m64"
|
||||
headerPath="../../JuceLibraryCode ../../Source ../Modules/vstsdk2.4 /usr/include/freetype2 /usr/include"
|
||||
|
@ -188,7 +191,7 @@
|
|||
</LINUX_MAKE>
|
||||
<VS2019 targetFolder="Builds/VisualStudio2019" smallIcon="aNR5I9" bigIcon="aNR5I9"
|
||||
vstLegacyFolder="modules/vstsdk2.4" vst3Folder="modules/vstsdk3"
|
||||
aaxFolder="modules/aax">
|
||||
aaxFolder="modules/aax" extraDefs="JUCE_MODAL_LOOPS_PERMITTED=1">
|
||||
<CONFIGURATIONS>
|
||||
<CONFIGURATION isDebug="1" name="Debug" binaryPath="Bin/Windows/Debug"/>
|
||||
<CONFIGURATION isDebug="0" name="Release" binaryPath="Bin/Windows/Release"/>
|
||||
|
|
0
Source/InstrumentLoader.h
Executable file → Normal file
0
Source/InstrumentLoader.h
Executable file → Normal file
|
@ -7,12 +7,12 @@
|
|||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
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.
|
||||
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]
|
||||
|
||||
g.fillAll (Colours::black);
|
||||
g.fillAll (juce::Colours::black);
|
||||
|
||||
//[UserPaint] Add your own custom painting code here..
|
||||
//[/UserPaint]
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
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.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
@ -50,7 +50,7 @@ public:
|
|||
};
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
|
|
|
@ -511,6 +511,9 @@ AdlibBlasterAudioProcessor::AdlibBlasterAudioProcessor()
|
|||
|
||||
for (int i = 1; i <= Hiopl::CHANNELS; ++i)
|
||||
available_channels.push_back(i);
|
||||
|
||||
|
||||
workaround_flag = true;
|
||||
}
|
||||
|
||||
void AdlibBlasterAudioProcessor::initPrograms()
|
||||
|
@ -869,6 +872,9 @@ void AdlibBlasterAudioProcessor::endChangeGesture (String name) {
|
|||
// Parameters which apply directly to the OPL
|
||||
void AdlibBlasterAudioProcessor::setParameter (int index, float newValue, bool notify, bool updatetoHost)
|
||||
{
|
||||
|
||||
if (workaround_flag) return;
|
||||
|
||||
FloatParameter* p = params[index];
|
||||
p->setParameter(newValue);
|
||||
String name = p->getName();
|
||||
|
@ -1253,6 +1259,9 @@ Identifier stringToIdentifier(const String &s)
|
|||
|
||||
void AdlibBlasterAudioProcessor::getStateInformation(MemoryBlock& destData)
|
||||
{
|
||||
|
||||
if (workaround_flag) workaround_flag = false;
|
||||
|
||||
ReferenceCountedObjectPtr<DynamicObject> v(new DynamicObject);
|
||||
|
||||
v->setProperty(stringToIdentifier(PROGRAM_INDEX), i_program);
|
||||
|
|
|
@ -116,6 +116,9 @@ private:
|
|||
|
||||
std::unique_ptr<UndoManager> undoManager;
|
||||
std::unique_ptr<AudioProcessorValueTreeState> valueTree;
|
||||
|
||||
bool workaround_flag;
|
||||
|
||||
//==============================================================================
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AdlibBlasterAudioProcessor)
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue