summaryrefslogtreecommitdiffstats
path: root/src/server/ArcImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 19:39:56 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 19:39:56 +0200
commit3d117ed9a00c3fdbcb07327d6669aa26c3821720 (patch)
treeabe73ae30112c9f9cd5c665bf618d84b6b8bf3bd /src/server/ArcImpl.hpp
parent5a42be72e788864736425fbf1fe0e884767a483f (diff)
downloadingen-3d117ed9a00c3fdbcb07327d6669aa26c3821720.tar.gz
ingen-3d117ed9a00c3fdbcb07327d6669aa26c3821720.tar.bz2
ingen-3d117ed9a00c3fdbcb07327d6669aa26c3821720.zip
Enforce that arc buffer can only be accessed in run context
Diffstat (limited to 'src/server/ArcImpl.hpp')
-rw-r--r--src/server/ArcImpl.hpp2
1 files changed, 1 insertions, 1 deletions
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;