OSC: Added pan width to selected
[ardour.git] / libs / panners / 2in2out / panner_2in2out.h
index 48f441fbd031ba1b80723f181de5be777434198a..4c71a27c183955456f98dba41ec3a9eb2c71265a 100644 (file)
@@ -49,6 +49,9 @@ class Panner2in2out : public Panner
         bool clamp_position (double&);
         bool clamp_width (double&);
 
+       std::pair<double, double> position_range () const;
+       std::pair<double, double> width_range () const;
+
         void set_position (double);
         void set_width (double);
 
@@ -60,12 +63,15 @@ class Panner2in2out : public Panner
        static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>);
 
         std::string describe_parameter (Evoral::Parameter);
-        std::string value_as_string (boost::shared_ptr<AutomationControl>) const;
+        std::string value_as_string (boost::shared_ptr<const AutomationControl>) const;
 
        XMLNode& get_state ();
 
         void update ();
 
+       void reset ();
+        void thaw ();
+
   protected:
        float left[2];
        float right[2];
@@ -76,7 +82,7 @@ class Panner2in2out : public Panner
 
   private:
         bool clamp_stereo_pan (double& direction_as_lr_fract, double& width);
-        
+
         void distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which);
         void distribute_one_automated (AudioBuffer& srcbuf, BufferSet& obufs,
                                        framepos_t start, framepos_t end, pframes_t nframes,