From 160b2baf7df8b960f22619c013b3197c0dc51c2b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Aug 2012 01:48:34 +0000 Subject: Fix running as an LV2 plugin. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4719 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Buffer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/Buffer.hpp') 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() { -- cgit v1.2.1