From f3546d49dbd2d673138387a87bc523c26dcece68 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Sep 2016 15:21:25 +0200 Subject: Remove last vestiges of multiple run contexts --- src/server/Buffer.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/server/Buffer.hpp') diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp index aa732781..6944257f 100644 --- a/src/server/Buffer.hpp +++ b/src/server/Buffer.hpp @@ -35,9 +35,9 @@ namespace Ingen { namespace Server { -class Context; -class Engine; class BufferFactory; +class Engine; +class RunContext; class INGEN_API Buffer : public boost::noncopyable { @@ -51,8 +51,8 @@ public: void clear(); void resize(uint32_t size); - void copy(const Context& context, const Buffer* src); - void prepare_write(Context& context); + void copy(const RunContext& context, const Buffer* src); + void prepare_write(RunContext& context); void* port_data(PortType port_type, SampleCount offset); const void* port_data(PortType port_type, SampleCount offset) const; @@ -157,10 +157,10 @@ public: } /// Audio buffers only - float peak(const Context& context) const; + float peak(const RunContext& context) const; /// Sequence buffers only - void prepare_output_write(Context& context); + void prepare_output_write(RunContext& context); /// Sequence buffers only bool append_event(int64_t frames, @@ -182,7 +182,7 @@ public: void update_value_buffer(SampleCount offset); /// Set/add to audio buffer from the Sequence of Float in `src` - void render_sequence(const Context& context, const Buffer* src, bool add); + void render_sequence(const RunContext& context, const Buffer* src, bool add); void set_capacity(uint32_t capacity) { _capacity = capacity; } -- cgit v1.2.1