From 70b939da4f9d4097160e32f2373a7a5ff8f4957f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 30 Jan 2009 07:40:13 +0000 Subject: first pass at internal sends. this is a very tentative work in progress, and it is possible that major changes may follow in the near future. it is certainly not complete, but the fundamental changes to Port/Buffer operation merit a commit at this point git-svn-id: svn://localhost/ardour2/branches/3.0@4464 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/buffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/ardour/buffer.h') diff --git a/libs/ardour/ardour/buffer.h b/libs/ardour/ardour/buffer.h index e03489568c..02d6975fad 100644 --- a/libs/ardour/ardour/buffer.h +++ b/libs/ardour/ardour/buffer.h @@ -68,7 +68,7 @@ public: * passed to the constructor must have been non-zero. */ 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; @@ -77,9 +77,9 @@ public: virtual void read_from(const Buffer& src, nframes_t offset, nframes_t len) = 0; -protected: + protected: Buffer(DataType type, size_t capacity) - : _type(type), _capacity(capacity), _size(0), _silent(true) + : _type(type), _capacity(capacity), _size(0), _silent(true) {} DataType _type; -- cgit v1.2.3