summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/midi++2/midi++/port.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/midi++2/midi++/port.h b/libs/midi++2/midi++/port.h
index 6e55134bb5..5a52cfe898 100644
--- a/libs/midi++2/midi++/port.h
+++ b/libs/midi++2/midi++/port.h
@@ -22,10 +22,6 @@
#include <string>
#include <iostream>
-#include <jack/types.h> /* XXX ... desirable to get rid of this but needed for
- * now due to use of JackPortIsXXXX
- */
-
#include <pthread.h>
#include "pbd/xml++.h"
@@ -47,8 +43,8 @@ class PortRequest;
class LIBMIDIPP_API Port {
public:
enum Flags {
- IsInput = JackPortIsInput,
- IsOutput = JackPortIsOutput,
+ IsInput = 0x1, /* MUST MATCH JACK's JackPortIsInput */
+ IsOutput = 0x2, /* MUST MATCH JACK's JackPortIsOutput */
};
Port (std::string const &, Flags);