From 591e59dae4e82da5bf30f8fa9e8163d55c05d94c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 8 Jul 2016 17:09:09 -0400 Subject: 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 --- libs/ardour/ardour/types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/types.h') 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 { -- cgit v1.2.3