use dedicated buffers for route (and track)
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index 48ce925d3f310dc714f1f1592beb8ea314551e7f..d80c759cff6f229c5c5f8a423dc2f3a1d87a0ff2 100644 (file)
@@ -89,14 +89,10 @@ class PluginInsert : public Processor
                double get_value (void) const;
                XMLNode& get_state();
 
-               double user_to_ui (double) const;
-               double ui_to_user (double) const;
-               double plugin_to_ui (double) const;
-               double plugin_to_user (double) const;
+               double internal_to_interface (double) const;
+               double interface_to_internal (double) const;
 
        private:
-               double user_to_plugin (double) const;
-
                PluginInsert* _plugin;
                bool _logarithmic;
                bool _sr_dependent;
@@ -141,12 +137,12 @@ class PluginInsert : public Processor
                Split,       ///< we copy one of our insert's inputs to multiple plugin inputs
                Hide,        ///< we `hide' some of the plugin's inputs by feeding them silence
        };
-       
+
   private:
        /* disallow copy construction */
        PluginInsert (const PluginInsert&);
 
-       void parameter_changed (Evoral::Parameter, float);
+       void parameter_changed (uint32_t, float);
 
        void  set_parameter (Evoral::Parameter param, float val);
        float get_parameter (Evoral::Parameter param);
@@ -189,6 +185,9 @@ class PluginInsert : public Processor
 
        boost::shared_ptr<Plugin> plugin_factory (boost::shared_ptr<Plugin>);
        void add_plugin (boost::shared_ptr<Plugin>);
+
+        void start_touch (uint32_t param_id);
+        void end_touch (uint32_t param_id);
 };
 
 } // namespace ARDOUR