summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-01 17:51:16 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 01:48:48 +0200
commitd13e41341f687b9f526887aba7e664d71ae34aec (patch)
tree2f68f12e6c182169ad840b1710fa3e376c47ed00 /src/server/InputPort.hpp
parent95ceaf902f95baa431cdda972c0ebb48293e2022 (diff)
downloadingen-d13e41341f687b9f526887aba7e664d71ae34aec.tar.gz
ingen-d13e41341f687b9f526887aba7e664d71ae34aec.tar.bz2
ingen-d13e41341f687b9f526887aba7e664d71ae34aec.zip
Use consistent naming for context parameters
Diffstat (limited to 'src/server/InputPort.hpp')
-rw-r--r--src/server/InputPort.hpp12
1 files changed, 6 insertions, 6 deletions
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<true>>;
/** 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;