From 3f4acaef80192fb8c79e16baa6a898c21b72e3f3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 20 Jul 2015 16:16:41 +0200 Subject: [PATCH] copy AU parameters with plugin fixes AU-plugin transfer function display. (LADSPA & LV2 do not need this, connect&run pushes the parameters) --- libs/ardour/audio_unit.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index ca36c729aa..428138ab54 100644 --- 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 ()