summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-11 01:10:54 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-11 01:10:54 +0000
commit4abd8d384f464b6d3a6dcde4253f16e848de33ef (patch)
tree18f69dcf486f1631e7291640a18a45b4b8fb9765 /libs
parent343acfcaa1bb2604c8329846a4bd3a9128f28255 (diff)
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
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/audio_unit.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc
index dfb21b1de9..ded4dea85b 100644
--- a/libs/ardour/audio_unit.cc
+++ b/libs/ardour/audio_unit.cc
@@ -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);
}