summaryrefslogtreecommitdiffstats
path: root/src/server/BufferFactory.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/BufferFactory.hpp')
-rw-r--r--src/server/BufferFactory.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/BufferFactory.hpp b/src/server/BufferFactory.hpp
index 75cb0b63..ee6ca5d9 100644
--- a/src/server/BufferFactory.hpp
+++ b/src/server/BufferFactory.hpp
@@ -40,6 +40,7 @@ namespace Shared { class URIs; }
namespace Server {
+class Context;
class Engine;
class BufferFactory {
@@ -50,7 +51,10 @@ public:
static uint32_t audio_buffer_size(SampleCount nframes);
uint32_t default_buffer_size(LV2_URID type);
- BufferRef get(LV2_URID type, uint32_t capacity, bool force_create=false);
+ BufferRef get(Context& context,
+ LV2_URID type,
+ uint32_t capacity,
+ bool force_create = false);
BufferRef silent_buffer();