aboutsummaryrefslogtreecommitdiffstats
path: root/src/port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-17 08:36:25 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:04:19 -0500
commit57b544a5b036e671a516192dd2b4c2b84c37a3df (patch)
tree1e6ffe68d0e31f2767335ac2a10e229873474b26 /src/port.h
parent660d0e3591e6a972f5d4adfd7d0d3bf6cef566f9 (diff)
downloadjalv-57b544a5b036e671a516192dd2b4c2b84c37a3df.tar.gz
jalv-57b544a5b036e671a516192dd2b4c2b84c37a3df.tar.bz2
jalv-57b544a5b036e671a516192dd2b4c2b84c37a3df.zip
Move PortFlow and PortType definitions to types.h
Diffstat (limited to 'src/port.h')
-rw-r--r--src/port.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/port.h b/src/port.h
index 44f8411..6b5e522 100644
--- a/src/port.h
+++ b/src/port.h
@@ -6,6 +6,7 @@
#include "attributes.h"
#include "lv2_evbuf.h"
+#include "types.h"
#include "lilv/lilv.h"
@@ -14,16 +15,6 @@
JALV_BEGIN_DECLS
-typedef enum { FLOW_UNKNOWN, FLOW_INPUT, FLOW_OUTPUT } PortFlow;
-
-typedef enum {
- TYPE_UNKNOWN,
- TYPE_CONTROL,
- TYPE_AUDIO,
- TYPE_EVENT,
- TYPE_CV
-} PortType;
-
typedef struct {
const LilvPort* lilv_port; ///< LV2 port
PortType type; ///< Data type