amend prev. commit
[ardour.git] / libs / panners / stereobalance / panner_balance.h
index f3813408882909e4f729b777496e3cbb0df41c9d..944a5fb48f88512417a62a79de5ba8ed5488f8ae 100644 (file)
@@ -57,7 +57,7 @@ class Pannerbalance : 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 ();
 
@@ -74,7 +74,7 @@ class Pannerbalance : public Panner
        private:
        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,
+                       samplepos_t start, samplepos_t end, pframes_t nframes,
                        pan_t** buffers, uint32_t which);
 };