summaryrefslogtreecommitdiffstats
path: root/src/engine/ControlBindings.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch)
tree089c1366a567dfbf88c0473288236b276ef24bf6 /src/engine/ControlBindings.cpp
parent987710474b824cb92d83ff6fa7a090f50e10756f (diff)
downloadingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/ControlBindings.cpp')
-rw-r--r--src/engine/ControlBindings.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/engine/ControlBindings.cpp b/src/engine/ControlBindings.cpp
index c201ad30..35001bb6 100644
--- a/src/engine/ControlBindings.cpp
+++ b/src/engine/ControlBindings.cpp
@@ -37,7 +37,6 @@ using namespace Raul;
namespace Ingen {
-
ControlBindings::ControlBindings(Engine& engine)
: _engine(engine)
, _learn_port(NULL)
@@ -46,13 +45,11 @@ ControlBindings::ControlBindings(Engine& engine)
{
}
-
ControlBindings::~ControlBindings()
{
delete _feedback;
}
-
ControlBindings::Key
ControlBindings::port_binding(PortImpl* port)
{
@@ -80,7 +77,6 @@ ControlBindings::port_binding(PortImpl* port)
return key;
}
-
ControlBindings::Key
ControlBindings::midi_event_key(uint16_t size, uint8_t* buf, uint16_t& value)
{
@@ -102,7 +98,6 @@ ControlBindings::midi_event_key(uint16_t size, uint8_t* buf, uint16_t& value)
}
}
-
void
ControlBindings::port_binding_changed(ProcessContext& context, PortImpl* port)
{
@@ -111,7 +106,6 @@ ControlBindings::port_binding_changed(ProcessContext& context, PortImpl* port)
_bindings->insert(make_pair(key, port));
}
-
void
ControlBindings::port_value_changed(ProcessContext& context, PortImpl* port)
{
@@ -159,7 +153,6 @@ ControlBindings::port_value_changed(ProcessContext& context, PortImpl* port)
}
}
-
void
ControlBindings::learn(PortImpl* port)
{
@@ -167,7 +160,6 @@ ControlBindings::learn(PortImpl* port)
_learn_port = port;
}
-
Raul::Atom
ControlBindings::control_to_port_value(PortImpl* port, Type type, int16_t value)
{
@@ -201,7 +193,6 @@ ControlBindings::control_to_port_value(PortImpl* port, Type type, int16_t value)
return Raul::Atom(scaled_value);
}
-
int16_t
ControlBindings::port_value_to_control(PortImpl* port, Type type)
{
@@ -242,7 +233,6 @@ ControlBindings::port_value_to_control(PortImpl* port, Type type)
}
}
-
void
ControlBindings::set_port_value(ProcessContext& context, PortImpl* port, Type type, int16_t value)
{
@@ -260,7 +250,6 @@ ControlBindings::set_port_value(ProcessContext& context, PortImpl* port, Type ty
context.event_sink().write(sizeof(ev), &ev);
}
-
bool
ControlBindings::bind(ProcessContext& context, Key key)
{
@@ -281,7 +270,6 @@ ControlBindings::bind(ProcessContext& context, Key key)
return true;
}
-
SharedPtr<ControlBindings::Bindings>
ControlBindings::remove(const Raul::Path& path)
{
@@ -304,7 +292,6 @@ ControlBindings::remove(const Raul::Path& path)
return old_bindings;
}
-
SharedPtr<ControlBindings::Bindings>
ControlBindings::remove(PortImpl* port)
{
@@ -327,7 +314,6 @@ ControlBindings::remove(PortImpl* port)
return old_bindings;
}
-
void
ControlBindings::pre_process(ProcessContext& context, EventBuffer* buffer)
{
@@ -383,7 +369,6 @@ ControlBindings::pre_process(ProcessContext& context, EventBuffer* buffer)
}
}
-
void
ControlBindings::post_process(ProcessContext& context, EventBuffer* buffer)
{
@@ -394,5 +379,4 @@ ControlBindings::post_process(ProcessContext& context, EventBuffer* buffer)
}
}
-
} // namespace Ingen