improve AU Latency PropertyChange Events
[ardour.git] / libs / ardour / ardour / plugin_insert.h
index 9f1d56b81103922977b0f16c77dc9e9ba6cee49a..564feb0c63cf5fddc0707b0345e2f27940e239de 100644 (file)
@@ -68,6 +68,10 @@ class LIBARDOUR_API PluginInsert : public Processor
        void deactivate ();
        void flush ();
 
+       void enable (bool yn);
+       bool enabled () const;
+       bool bypassable () const;
+
        bool reset_parameters_to_default ();
        bool can_reset_all_parameters ();
 
@@ -306,6 +310,7 @@ class LIBARDOUR_API PluginInsert : public Processor
        boost::shared_ptr<SideChain> _sidechain;
        uint32_t _sc_playback_latency;
        uint32_t _sc_capture_latency;
+       uint32_t _plugin_signal_latency;
 
        boost::weak_ptr<Plugin> _impulseAnalysisPlugin;
 
@@ -355,14 +360,18 @@ class LIBARDOUR_API PluginInsert : public Processor
        void set_parameter_state_2X (const XMLNode& node, int version);
        void set_control_ids (const XMLNode&, int version);
 
+       void enable_changed ();
+       void bypassable_changed ();
+
        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);
 
-       void latency_changed (framecnt_t, framecnt_t);
+       void latency_changed ();
        bool _latency_changed;
+       uint32_t _bypass_port;
 };
 
 } // namespace ARDOUR