summaryrefslogtreecommitdiffstats
path: root/src/server/Driver.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/Driver.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/Driver.hpp')
-rw-r--r--src/server/Driver.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/server/Driver.hpp b/src/server/Driver.hpp
index 4da04a55..92867021 100644
--- a/src/server/Driver.hpp
+++ b/src/server/Driver.hpp
@@ -56,7 +56,7 @@ public:
virtual EnginePort* get_port(const Raul::Path& path) = 0;
/** Add a system visible port (e.g. a port on the root graph). */
- virtual void add_port(RunContext& context, EnginePort* port) = 0;
+ virtual void add_port(RunContext& ctx, EnginePort* port) = 0;
/** Remove a system visible port.
*
@@ -64,7 +64,7 @@ public:
* destroy the port. To actually remove the system port, unregister_port()
* must be called later in another thread.
*/
- virtual void remove_port(RunContext& context, EnginePort* port) = 0;
+ virtual void remove_port(RunContext& ctx, EnginePort* port) = 0;
/** Return true iff driver supports dynamic adding/removing of ports. */
virtual bool dynamic_ports() const { return false; }
@@ -97,8 +97,7 @@ public:
virtual SampleCount frame_time() const = 0;
/** Append time events for this cycle to `buffer`. */
- virtual void append_time_events(RunContext& context,
- Buffer& buffer) = 0;
+ virtual void append_time_events(RunContext& ctx, Buffer& buffer) = 0;
/** Return the real-time priority of the audio thread, or -1. */
virtual int real_time_priority() = 0;