diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 13:50:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:26:13 -0500 |
commit | 25177612b20f7d3ebd4138fed9cd9acffec7e756 (patch) | |
tree | 8f060c9cb370eeb4a94f63a0fa5386b44f65efa6 /src/server/ControlBindings.hpp | |
parent | 3f6d53e423bd809b9c8ae807d28c61e99ce0a2f2 (diff) | |
download | ingen-25177612b20f7d3ebd4138fed9cd9acffec7e756.tar.gz ingen-25177612b20f7d3ebd4138fed9cd9acffec7e756.tar.bz2 ingen-25177612b20f7d3ebd4138fed9cd9acffec7e756.zip |
Fix inconsistent parameter names
Diffstat (limited to 'src/server/ControlBindings.hpp')
-rw-r--r-- | src/server/ControlBindings.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp index 832e36d1..20241fc0 100644 --- a/src/server/ControlBindings.hpp +++ b/src/server/ControlBindings.hpp @@ -99,10 +99,10 @@ public: void port_value_changed(RunContext& ctx, PortImpl* port, Key key, - const Atom& value); + const Atom& value_atom); - void pre_process(RunContext& ctx, Buffer* control_in); - void post_process(RunContext& ctx, Buffer* control_out); + void pre_process(RunContext& ctx, Buffer* buffer); + void post_process(RunContext& ctx, Buffer* buffer); /** Get all bindings for `path` or children of `path`. */ void get_all(const Raul::Path& path, std::vector<Binding*>& bindings); @@ -117,22 +117,22 @@ private: Key midi_event_key(uint16_t size, const uint8_t* buf, uint16_t& value); - void set_port_value(RunContext& ctx, + void set_port_value(RunContext& context, PortImpl* port, Type type, int16_t value); - bool finish_learn(RunContext& ctx, Key key); + bool finish_learn(RunContext& context, Key key); - float control_to_port_value(RunContext& ctx, + float control_to_port_value(RunContext& context, const PortImpl* port, Type type, int16_t value) const; - int16_t port_value_to_control(RunContext& ctx, + int16_t port_value_to_control(RunContext& context, PortImpl* port, Type type, - const Atom& value) const; + const Atom& value_atom) const; Engine& _engine; std::atomic<Binding*> _learn_binding; |