Update recorded MIDI regions as notes arrive. Fixes one cause of infinite note-lengt...
[ardour.git] / libs / ardour / ardour / panner.h
index 2b2801841d812570bbb8441600ff4afd3dcd7dc9..087471032d12acb2722ad3fe6a82718253c6950f 100644 (file)
@@ -228,7 +228,7 @@ public:
        bool can_support_io_configuration (const ChanCount& /*in*/, ChanCount& /*out*/) const { return true; };
 
        /// The fundamental Panner function
-       void run (BufferSet& src, BufferSet& dest, sframes_t start_frame, sframes_t end_frames, nframes_t nframes);
+       void run (BufferSet& src, BufferSet& dest, framepos_t start_frame, framepos_t end_frames, nframes_t nframes);
 
        bool bypassed() const { return _bypassed; }
        void set_bypassed (bool yn);
@@ -291,8 +291,8 @@ public:
                AutomationList* alist() { return (AutomationList*)_list.get(); }
                Panner& panner;
 
-               void set_value (float);
-               float get_value (void) const;
+               void set_value (double);
+               double get_value (void) const;
        };
 
        boost::shared_ptr<AutomationControl> pan_control (int id, int chan=0) {
@@ -303,6 +303,8 @@ public:
                return automation_control (Evoral::Parameter (PanAutomation, chan, id));
        }
 
+       static std::string value_as_string (double);
+
   private:
        /* disallow copy construction */
        Panner (Panner const &);