diff options
author | David Robillard <d@drobilla.net> | 2010-01-29 01:43:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-01-29 01:43:54 +0000 |
commit | d5a514148bec58cd7e97d032259362b2e19c0e95 (patch) | |
tree | 64ea4dd182a8918b47a6d5f391e2cd097aebb526 /src/common | |
parent | 36039b294ee823ceb2c239129defc5eafa110247 (diff) | |
download | ingen-d5a514148bec58cd7e97d032259362b2e19c0e95.tar.gz ingen-d5a514148bec58cd7e97d032259362b2e19c0e95.tar.bz2 ingen-d5a514148bec58cd7e97d032259362b2e19c0e95.zip |
Magic MIDI binding via special ingen_control port.
Always set lv2:minimum and lv2:maximum properties for control ports so they show up in properties dialog (and can be used for MIDI binding).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2391 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/interface/EngineInterface.hpp | 2 | ||||
-rw-r--r-- | src/common/interface/PortType.hpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp index 742e0ed5..6d99a14d 100644 --- a/src/common/interface/EngineInterface.hpp +++ b/src/common/interface/EngineInterface.hpp @@ -58,7 +58,7 @@ public: virtual void disconnect_all(const Raul::Path& parent_patch_path, const Raul::Path& path) = 0; - virtual void midi_learn(const Raul::Path& node_path) = 0; + virtual void learn(const Raul::Path& path) = 0; // Requests diff --git a/src/common/interface/PortType.hpp b/src/common/interface/PortType.hpp index f659cc81..557d7e75 100644 --- a/src/common/interface/PortType.hpp +++ b/src/common/interface/PortType.hpp @@ -32,7 +32,6 @@ namespace Shared { */ class PortType { public: - enum Symbol { UNKNOWN = 0, AUDIO = 1, |