summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Buffer.hpp')
-rw-r--r--src/server/Buffer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp
index fd4151b8..3a06c3fd 100644
--- a/src/server/Buffer.hpp
+++ b/src/server/Buffer.hpp
@@ -130,6 +130,8 @@ public:
LV2_Atom* atom() { return _atom; }
const LV2_Atom* atom() const { return _atom; }
+ void set_capacity(uint32_t capacity) { _capacity = capacity; }
+
inline void ref() { ++_refs; }
inline void deref() {