Fix a problem where VST automation data wasn't getting written (if the adjustments...
[ardour.git] / libs / ardour / ardour / plugin.h
index c927c1c0611fbd2f0239291c7ff11d68e2b565c2..2554a6816c01a5e6fa94f6623d6152c29a73ff3c 100644 (file)
@@ -144,11 +144,11 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent
        struct PresetRecord {
            PresetRecord () : number (-1), user (true) {}
            PresetRecord (const std::string& u, const std::string& l, int n = -1, bool s = true) : uri (u), label (l), number (n), user (s)  {}
-       
+
            bool operator!= (PresetRecord const & a) const {
                    return number != a.number || uri != a.uri || label != a.label;
            }
-       
+
            std::string uri;
            std::string label;
            int number; // if <0, invalid
@@ -274,6 +274,7 @@ protected:
        friend class PluginInsert;
 
        virtual void set_parameter (uint32_t which, float val);
+       virtual void set_parameter_automated (uint32_t which, float val);
 
        /** Do the actual saving of the current plugin settings to a preset of the provided name.
         *  Should return a URI on success, or an empty string on failure.