add an plugin API to query generic-gui grid-layout
[ardour.git] / libs / ardour / ardour / delayline.h
index 56a6de0c638c891cb08d453dd1436ca6b49fc4a1..93097df6b23ba11bae841501a959395f942968f1 100644 (file)
@@ -20,6 +20,9 @@
 #ifndef __ardour_delayline_h__
 #define __ardour_delayline_h__
 
+#include <boost/shared_ptr.hpp>
+#include <boost/shared_array.hpp>
+
 #include "ardour/types.h"
 #include "ardour/processor.h"
 
@@ -39,7 +42,7 @@ public:
 
        bool display_to_user() const { return false; }
 
-       void run (BufferSet&, framepos_t, framepos_t, pframes_t, bool);
+       void run (BufferSet&, framepos_t, framepos_t, double, pframes_t, bool);
        void set_delay(framecnt_t signal_delay);
        framecnt_t get_delay() { return _pending_delay; }
 
@@ -58,8 +61,8 @@ private:
        framecnt_t _delay, _pending_delay;
        framecnt_t _bsiz,  _pending_bsiz;
        frameoffset_t _roff, _woff;
-       boost::shared_ptr<Sample> _buf;
-       boost::shared_ptr<Sample> _pending_buf;
+       boost::shared_array<Sample> _buf;
+       boost::shared_array<Sample> _pending_buf;
        boost::shared_ptr<MidiBuffer> _midi_buf;
        bool _pending_flush;
 };