summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/port_manager.h2
-rw-r--r--libs/ardour/ardour/types.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/port_manager.h b/libs/ardour/ardour/port_manager.h
index 954c2642b9..528063ca66 100644
--- a/libs/ardour/ardour/port_manager.h
+++ b/libs/ardour/ardour/port_manager.h
@@ -82,6 +82,8 @@ class LIBARDOUR_API PortManager
std::string get_pretty_name_by_name (const std::string& portname) const;
bool port_is_mine (const std::string& fullname) const;
+ static bool port_is_control_only (std::string const &);
+
/* other Port management */
bool port_is_physical (const std::string&) const;
diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h
index be71b4afda..dbe8635300 100644
--- a/libs/ardour/ardour/types.h
+++ b/libs/ardour/ardour/types.h
@@ -658,6 +658,7 @@ namespace ARDOUR {
/* non-JACK related flags */
Hidden = 0x20,
Shadow = 0x40,
+ ControlOnly = 0x80, /* MIDI, do not use as a source of music/performance data */
};
struct LatencyRange {