projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
343acfc
)
do AU parameter change notify for user-created preset changes not just factory presets
author
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 11 Nov 2009 01:10:54 +0000
(
01:10
+0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Wed, 11 Nov 2009 01:10:54 +0000
(
01:10
+0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6059
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/audio_unit.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audio_unit.cc
b/libs/ardour/audio_unit.cc
index dfb21b1de9b1961c35e8e7c399ead21546f8b400..ded4dea85b237e2a2d18496998aa8eed47005c7a 100644
(file)
--- 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);
}