mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-17 02:46:15 +01:00
do AU parameter change notify for user-created preset changes not just factory presets
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6059 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
343acfcaa1
commit
4abd8d384f
1 changed files with 7 additions and 0 deletions
|
|
@ -1384,6 +1384,13 @@ AUPlugin::load_preset (const string preset_label)
|
|||
if ((propertyList = load_property_list (ux->second)) != 0) {
|
||||
if (unit->SetAUPreset (propertyList) == noErr) {
|
||||
ret = true;
|
||||
|
||||
/* tell the world */
|
||||
|
||||
AudioUnitParameter changedUnit;
|
||||
changedUnit.mAudioUnit = unit->AU();
|
||||
changedUnit.mParameterID = kAUParameterListener_AnyParameter;
|
||||
AUParameterListenerNotify (NULL, NULL, &changedUnit);
|
||||
}
|
||||
CFRelease(propertyList);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue