projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b63f8
)
copy AU parameters with plugin
author
Robin Gareus
<robin@gareus.org>
Mon, 20 Jul 2015 14:16:41 +0000
(16:16 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 20 Jul 2015 14:17:29 +0000
(16:17 +0200)
fixes AU-plugin transfer function display.
(LADSPA & LV2 do not need this, connect&run pushes the
parameters)
libs/ardour/audio_unit.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audio_unit.cc
b/libs/ardour/audio_unit.cc
index ca36c729aa18ed28d9951464dfeeee9e3b6fb0f0..428138ab54bf0dc67b98d2db15cbbd1e8dc0a58b 100644
(file)
--- a/
libs/ardour/audio_unit.cc
+++ b/
libs/ardour/audio_unit.cc
@@
-455,6
+455,9
@@
AUPlugin::AUPlugin (const AUPlugin& other)
{
init ();
+ for (int i = 0; i < descriptors.size(); ++i) {
+ set_parameter (i, other.get_parameter (i));
+ }
}
AUPlugin::~AUPlugin ()