diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 17:51:16 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | d13e41341f687b9f526887aba7e664d71ae34aec (patch) | |
tree | 2f68f12e6c182169ad840b1710fa3e376c47ed00 /src/server/ControlBindings.hpp | |
parent | 95ceaf902f95baa431cdda972c0ebb48293e2022 (diff) | |
download | ingen-d13e41341f687b9f526887aba7e664d71ae34aec.tar.gz ingen-d13e41341f687b9f526887aba7e664d71ae34aec.tar.bz2 ingen-d13e41341f687b9f526887aba7e664d71ae34aec.zip |
Use consistent naming for context parameters
Diffstat (limited to 'src/server/ControlBindings.hpp')
-rw-r--r-- | src/server/ControlBindings.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp index 7505aad8..8fff58ce 100644 --- a/src/server/ControlBindings.hpp +++ b/src/server/ControlBindings.hpp @@ -125,19 +125,19 @@ private: static Key midi_event_key(uint16_t size, const uint8_t* buf, uint16_t& value); - void set_port_value(RunContext& context, + void set_port_value(RunContext& ctx, PortImpl* port, Type type, int16_t value) const; - bool finish_learn(RunContext& context, Key key); + bool finish_learn(RunContext& ctx, Key key); - static float control_to_port_value(RunContext& context, - const PortImpl* port, - Type type, - int16_t value); + static float control_to_port_value(RunContext& ctx, + const PortImpl* port, + Type type, + int16_t value); - static int16_t port_value_to_control(RunContext& context, + static int16_t port_value_to_control(RunContext& ctx, PortImpl* port, Type type, const Atom& value_atom); |