summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OSCBuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/OSCBuffer.hpp')
-rw-r--r--src/libs/engine/OSCBuffer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs/engine/OSCBuffer.hpp b/src/libs/engine/OSCBuffer.hpp
index 1e7e048a..dc529d30 100644
--- a/src/libs/engine/OSCBuffer.hpp
+++ b/src/libs/engine/OSCBuffer.hpp
@@ -32,7 +32,7 @@ public:
~OSCBuffer() { }
void clear() { lv2_osc_buffer_clear(_buf); }
- void reset(SampleCount nframs) {}
+ void reset(SampleCount nframs) const {}
void prepare_read(SampleCount nframes);
void prepare_write(SampleCount nframes);
@@ -40,6 +40,8 @@ public:
bool is_joined_to(Buffer* buf) const;
bool join(Buffer* buf);
void unjoin();
+
+ void copy(const Buffer* src, size_t start_sample, size_t end_sample);
uint32_t this_nframes() const { return _this_nframes; }