From 3d117ed9a00c3fdbcb07327d6669aa26c3821720 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 19:39:56 +0200 Subject: Enforce that arc buffer can only be accessed in run context --- src/server/ArcImpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/ArcImpl.hpp') diff --git a/src/server/ArcImpl.hpp b/src/server/ArcImpl.hpp index 49e9674b..54f88749 100644 --- a/src/server/ArcImpl.hpp +++ b/src/server/ArcImpl.hpp @@ -66,7 +66,7 @@ public: * buffer, and will return accordingly (e.g. the same buffer for every * voice in a mono->poly arc). */ - BufferRef buffer(uint32_t voice, SampleCount offset=0) const; + BufferRef buffer(const RunContext& ctx, uint32_t voice) const; /** Whether this arc must mix down voices into a local buffer */ bool must_mix() const; -- cgit v1.2.1