summaryrefslogtreecommitdiffstats
path: root/src/server/Buffer.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
committerDavid Robillard <d@drobilla.net>2016-09-11 15:21:25 +0200
commitf3546d49dbd2d673138387a87bc523c26dcece68 (patch)
treeede285a773fc565205f82a2b0a62ebba6ea552e0 /src/server/Buffer.cpp
parentfb2744d4265d26fb98b19689b50d127f32c66eab (diff)
downloadingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.gz
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.tar.bz2
ingen-f3546d49dbd2d673138387a87bc523c26dcece68.zip
Remove last vestiges of multiple run contexts
Diffstat (limited to 'src/server/Buffer.cpp')
-rw-r--r--src/server/Buffer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp
index 97f1c308..2e977845 100644
--- a/src/server/Buffer.cpp
+++ b/src/server/Buffer.cpp
@@ -136,7 +136,7 @@ Buffer::clear()
}
void
-Buffer::render_sequence(const Context& context, const Buffer* src, bool add)
+Buffer::render_sequence(const RunContext& context, const Buffer* src, bool add)
{
const LV2_URID atom_Float = _factory.uris().atom_Float;
const LV2_Atom_Sequence* seq = src->get<const LV2_Atom_Sequence>();
@@ -154,7 +154,7 @@ Buffer::render_sequence(const Context& context, const Buffer* src, bool add)
}
void
-Buffer::copy(const Context& context, const Buffer* src)
+Buffer::copy(const RunContext& context, const Buffer* src)
{
if (!_buf) {
return;
@@ -233,7 +233,7 @@ mm_abs_ps(__m128 x)
#endif
float
-Buffer::peak(const Context& context) const
+Buffer::peak(const RunContext& context) const
{
#ifdef __SSE__
const __m128* const vbuf = (const __m128* const)samples();
@@ -276,7 +276,7 @@ Buffer::peak(const Context& context) const
}
void
-Buffer::prepare_write(Context& context)
+Buffer::prepare_write(RunContext& context)
{
if (_type == _factory.uris().atom_Sequence) {
LV2_Atom* atom = get<LV2_Atom>();
@@ -288,7 +288,7 @@ Buffer::prepare_write(Context& context)
}
void
-Buffer::prepare_output_write(Context& context)
+Buffer::prepare_output_write(RunContext& context)
{
if (_type == _factory.uris().atom_Sequence) {
LV2_Atom* atom = get<LV2_Atom>();