diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-08 17:09:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:30 -0500 |
commit | 591e59dae4e82da5bf30f8fa9e8163d55c05d94c (patch) | |
tree | 770b87418ff864304ec70e5c7da4d9450f8c1ea2 /libs/ardour/ardour/types.h | |
parent | 0318d3cd64557156bfd9851a4dec53bf03395b17 (diff) |
add PortManager::port_is_control_only() and use it in PortManager::get_ports()
This allows us to avoid using "control-only" ports (e.g. Ableton Push 2 hardware ports) as inputs or outputs
Diffstat (limited to 'libs/ardour/ardour/types.h')
-rw-r--r-- | libs/ardour/ardour/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |