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.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/engine/OSCBuffer.hpp b/src/libs/engine/OSCBuffer.hpp
index dc529d30..7e1bc451 100644
--- a/src/libs/engine/OSCBuffer.hpp
+++ b/src/libs/engine/OSCBuffer.hpp
@@ -32,7 +32,8 @@ public:
~OSCBuffer() { }
void clear() { lv2_osc_buffer_clear(_buf); }
- void reset(SampleCount nframs) const {}
+ void reset(SampleCount nframes) { clear(); _this_nframes = nframes; }
+ void rewind() const {}
void prepare_read(SampleCount nframes);
void prepare_write(SampleCount nframes);