summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/HTTPEngineSender.cpp2
-rw-r--r--src/client/HTTPEngineSender.hpp2
-rw-r--r--src/client/OSCEngineSender.cpp6
-rw-r--r--src/client/OSCEngineSender.hpp2
-rw-r--r--src/client/PortModel.hpp3
5 files changed, 9 insertions, 6 deletions
diff --git a/src/client/HTTPEngineSender.cpp b/src/client/HTTPEngineSender.cpp
index abf5180e..ece89ca0 100644
--- a/src/client/HTTPEngineSender.cpp
+++ b/src/client/HTTPEngineSender.cpp
@@ -193,7 +193,7 @@ HTTPEngineSender::set_voice_value(const Path& port_path,
void
-HTTPEngineSender::midi_learn(const Path& node_path)
+HTTPEngineSender::learn(const Path& path)
{
}
diff --git a/src/client/HTTPEngineSender.hpp b/src/client/HTTPEngineSender.hpp
index b2df7821..971793d5 100644
--- a/src/client/HTTPEngineSender.hpp
+++ b/src/client/HTTPEngineSender.hpp
@@ -108,7 +108,7 @@ public:
uint32_t voice,
const Raul::Atom& value);
- virtual void midi_learn(const Raul::Path& node_path);
+ virtual void learn(const Raul::Path& path);
// Requests //
diff --git a/src/client/OSCEngineSender.cpp b/src/client/OSCEngineSender.cpp
index 0e2b11ab..e7fc4078 100644
--- a/src/client/OSCEngineSender.cpp
+++ b/src/client/OSCEngineSender.cpp
@@ -238,11 +238,11 @@ OSCEngineSender::set_voice_value(const Path& port_path,
void
-OSCEngineSender::midi_learn(const Path& node_path)
+OSCEngineSender::learn(const Path& path)
{
- send("/ingen/midi_learn", "is",
+ send("/ingen/learn", "is",
next_id(),
- node_path.c_str(),
+ path.c_str(),
LO_ARGS_END);
}
diff --git a/src/client/OSCEngineSender.hpp b/src/client/OSCEngineSender.hpp
index f43c3b18..8311cbb1 100644
--- a/src/client/OSCEngineSender.hpp
+++ b/src/client/OSCEngineSender.hpp
@@ -105,7 +105,7 @@ public:
uint32_t voice,
const Raul::Atom& value);
- virtual void midi_learn(const Raul::Path& node_path);
+ virtual void learn(const Raul::Path& path);
// Requests //
diff --git a/src/client/PortModel.hpp b/src/client/PortModel.hpp
index dbf82f1a..74b15283 100644
--- a/src/client/PortModel.hpp
+++ b/src/client/PortModel.hpp
@@ -26,6 +26,9 @@
#include "interface/Port.hpp"
#include "ObjectModel.hpp"
+#include <stdio.h>
+
+
namespace Raul { class Path; }
namespace Ingen {