Das BlinkenSendButtons
[ardour.git] / libs / ardour / ardour / buffer.h
index 02d6975fad5f5b54ff470f3fa9744147c339af2d..da75556877f3178e98e9e50516141ba1d021aaa5 100644 (file)
@@ -25,9 +25,9 @@
 #include <iostream>
 #include <boost/utility.hpp>
 
-#include <ardour/types.h>
-#include <ardour/data_type.h>
-#include <ardour/runtime_functions.h>
+#include "ardour/types.h"
+#include "ardour/data_type.h"
+#include "ardour/runtime_functions.h"
 
 namespace ARDOUR {
 
@@ -67,15 +67,15 @@ public:
         * The buffer is not silent after this operation. the @a capacity argument
         * passed to the constructor must have been non-zero.
         */
-       virtual void resize(size_t) = 0;
+       virtual void resize (size_t) = 0;
        
-       /** Clear (eg zero, or empty) buffer starting at TIME @a offset */
-       virtual void silence(nframes_t len, nframes_t offset=0) = 0;
+       /** Clear (eg zero, or empty) buffer */
+       virtual void silence (nframes_t len, nframes_t offset = 0) = 0;
        
        /** Clear the entire buffer */
        virtual void clear() { silence(_capacity, 0); }
        
-       virtual void read_from(const Buffer& src, nframes_t offset, nframes_t len) = 0;
+       virtual void read_from (const Buffer& src, nframes_t len, nframes_t dst_offset = 0, nframes_t src_offset = 0) = 0;
 
   protected:
        Buffer(DataType type, size_t capacity)