Browse Source

Compile fixes

master
xenakios 5 years ago
parent
commit
942d8aa382
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Source/PS_Source/globals.h
  2. +1
    -1
      paulstretchplugin.jucer

+ 2
- 2
Source/PS_Source/globals.h View File

@@ -121,7 +121,7 @@ inline void storeToTreeProperties(ValueTree dest, UndoManager* uman, AudioParame
if (par) dest.setProperty(par->paramID,(int)*par,uman);
}

inline void storeToTreeProperties(ValueTree dest, UndoManager* uman, const OwnedArray<AudioProcessorParameter>& pars,
inline void storeToTreeProperties(ValueTree dest, UndoManager* uman, const Array<AudioProcessorParameter*>& pars,
const std::set<AudioProcessorParameter*>& ignorepars = {})
{
for (auto& e : pars)
@@ -173,7 +173,7 @@ inline void getFromTreeProperties(ValueTree src, T par)
}
}

inline void getFromTreeProperties(ValueTree src, const OwnedArray<AudioProcessorParameter>& pars)
inline void getFromTreeProperties(ValueTree src, const Array<AudioProcessorParameter*>& pars)
{
for (auto& e : pars)
{


+ 1
- 1
paulstretchplugin.jucer View File

@@ -152,7 +152,7 @@
<MODULE id="juce_gui_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULE id="juce_gui_extra" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
</MODULES>
<JUCEOPTIONS JUCE_QUICKTIME="disabled" JUCE_ASIO="1"/>
<JUCEOPTIONS JUCE_QUICKTIME="disabled" JUCE_ASIO="1" JUCE_VST3_CAN_REPLACE_VST2="0"/>
<LIVE_SETTINGS>
<OSX/>
<WINDOWS/>


Loading…
Cancel
Save