mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
Towards fixing AU preset invalidation
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.
This commit is contained in:
parent
d53af10c92
commit
3c7dea43af
1 changed files with 1 additions and 3 deletions
|
|
@ -2170,8 +2170,6 @@ AUPlugin::set_state(const XMLNode& node, int version)
|
|||
bool
|
||||
AUPlugin::load_preset (PresetRecord r)
|
||||
{
|
||||
Plugin::load_preset (r);
|
||||
|
||||
bool ret = false;
|
||||
CFPropertyListRef propertyList;
|
||||
Glib::ustring path;
|
||||
|
|
@ -2218,7 +2216,7 @@ AUPlugin::load_preset (PresetRecord r)
|
|||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
return ret && Plugin::load_preset (r);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue