Aux-Send Latency compensation, part 2 & code-consolidation
[ardour.git] / libs / ardour / ardour / gain_control.h
index 0a7bddcf4f3639465b4871f02b088cf5401ed665..a2644582cef69d20a39e01bb21059432bcfd9344 100644 (file)
@@ -39,19 +39,11 @@ class LIBARDOUR_API GainControl : public SlavableAutomationControl {
        GainControl (Session& session, const Evoral::Parameter &param,
                     boost::shared_ptr<AutomationList> al = boost::shared_ptr<AutomationList>());
 
-       double internal_to_interface (double) const;
-       double interface_to_internal (double) const;
-       double internal_to_user (double) const;
-       double user_to_internal (double) const;
-       std::string get_user_string () const;
-
-       double lower_db;
-       double range_db;
-
        void inc_gain (gain_t);
 
 protected:
-       bool get_masters_curve_locked (framepos_t, framepos_t, float*, framecnt_t) const;
+       void post_add_master (boost::shared_ptr<AutomationControl>);
+       bool get_masters_curve_locked (samplepos_t, samplepos_t, float*, samplecnt_t) const;
 };
 
 } /* namespace */