Fixed standalone and AAX GUI issues

master v2.2
George Reales 12 months ago
parent 3591bfb81e
commit e365b6d26a

@ -511,9 +511,6 @@ AdlibBlasterAudioProcessor::AdlibBlasterAudioProcessor()
for (int i = 1; i <= Hiopl::CHANNELS; ++i)
available_channels.push_back(i);
workaround_flag = true;
}
void AdlibBlasterAudioProcessor::initPrograms()
@ -872,10 +869,7 @@ 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];
FloatParameter* p = params[index];
p->setParameter(newValue);
String name = p->getName();
if (updatetoHost) {
@ -1259,9 +1253,6 @@ 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,9 +116,6 @@ private:
std::unique_ptr<UndoManager> undoManager;
std::unique_ptr<AudioProcessorValueTreeState> valueTree;
bool workaround_flag;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AdlibBlasterAudioProcessor)
};

Loading…
Cancel
Save