diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/port.h | 11 | ||||
-rw-r--r-- | src/types.h | 12 |
2 files changed, 13 insertions, 10 deletions
@@ -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 diff --git a/src/types.h b/src/types.h index f56ee14..dcb15c6 100644 --- a/src/types.h +++ b/src/types.h @@ -20,6 +20,18 @@ typedef struct JalvImpl Jalv; /// Audio/MIDI backend typedef struct JalvBackendImpl JalvBackend; +/// Plugin port "direction" +typedef enum { FLOW_UNKNOWN, FLOW_INPUT, FLOW_OUTPUT } PortFlow; + +/// Plugin port type +typedef enum { + TYPE_UNKNOWN, + TYPE_CONTROL, + TYPE_AUDIO, + TYPE_EVENT, + TYPE_CV +} PortType; + JALV_END_DECLS #endif // JALV_TYPES_H |