diff options
Diffstat (limited to 'src/engine/Buffer.hpp')
-rw-r--r-- | src/engine/Buffer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/Buffer.hpp b/src/engine/Buffer.hpp index 0a9d59c2..1997c1cb 100644 --- a/src/engine/Buffer.hpp +++ b/src/engine/Buffer.hpp @@ -50,8 +50,8 @@ public: virtual void resize(size_t size) { _size = size; } - virtual void* port_data(Shared::PortType port_type) = 0; - virtual const void* port_data(Shared::PortType port_type) const = 0; + virtual void* port_data(Shared::PortType port_type, SampleCount offset=0) = 0; + virtual const void* port_data(Shared::PortType port_type, SampleCount offset=0) const = 0; /** Rewind (ie reset read pointer), but leave contents unchanged */ virtual void rewind() const {} |