This is a step in the right direction: first load the preset and
only if preset-loading was successful mark it as loaded.
This still does not properly unset "parameter_changed_since_last_preset".
AU signals "kAudioUnitEvent_ParameterValueChange" later in the event-loop.
bool
AUPlugin::load_preset (PresetRecord r)
{
- Plugin::load_preset (r);
-
bool ret = false;
CFPropertyListRef propertyList;
Glib::ustring path;
}
}
- return ret;
+ return ret && Plugin::load_preset (r);
}
void