From d13e41341f687b9f526887aba7e664d71ae34aec Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 17:51:16 +0200 Subject: Use consistent naming for context parameters --- src/server/InputPort.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server/InputPort.hpp') diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 35ddb2b9..dfe8b92a 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -72,9 +72,9 @@ public: boost::intrusive::constant_time_size>; /** Return the maximum polyphony of an output connected to this input. */ - virtual uint32_t max_tail_poly(RunContext& context) const; + virtual uint32_t max_tail_poly(RunContext& ctx) const; - bool apply_poly(RunContext& context, uint32_t poly) override; + bool apply_poly(RunContext& ctx, uint32_t poly) override; /** Add an arc. Realtime safe. * @@ -83,7 +83,7 @@ public: * * setup_buffers() must be called later for the change to take effect. */ - void add_arc(RunContext& context, ArcImpl& c); + void add_arc(RunContext& ctx, ArcImpl& c); /** Remove an arc. Realtime safe. * @@ -105,13 +105,13 @@ public: setup_buffers(RunContext& ctx, BufferFactory& bufs, uint32_t poly) override; /** Set up buffer pointers. */ - void pre_process(RunContext& context) override; + void pre_process(RunContext& ctx) override; /** Prepare buffer for access, mixing if necessary. */ - void pre_run(RunContext& context) override; + void pre_run(RunContext& ctx) override; /** Prepare buffer for next process cycle. */ - void post_process(RunContext& context) override; + void post_process(RunContext& ctx) override; SampleCount next_value_offset(SampleCount offset, SampleCount end) const override; -- cgit v1.2.1