2
0
Fork 0

Fixed standalone and AAX GUI issues

master v2.2
George Reales 2022-04-11 11:45:04 +02:00
parent 3591bfb81e
commit e365b6d26a
2 changed files with 1 additions and 13 deletions

View File

@ -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,9 +869,6 @@ 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();
@ -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);

View File

@ -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)
};