Fixed standalone and AAX GUI issues
This commit is contained in:
parent
3591bfb81e
commit
e365b6d26a
2 changed files with 1 additions and 13 deletions
|
@ -511,9 +511,6 @@ 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()
|
||||||
|
@ -872,9 +869,6 @@ 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)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (workaround_flag) return;
|
|
||||||
|
|
||||||
FloatParameter* p = params[index];
|
FloatParameter* p = params[index];
|
||||||
p->setParameter(newValue);
|
p->setParameter(newValue);
|
||||||
String name = p->getName();
|
String name = p->getName();
|
||||||
|
@ -1259,9 +1253,6 @@ 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);
|
||||||
|
|
|
@ -116,9 +116,6 @@ 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)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue