aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h12
1 files changed, 12 insertions, 0 deletions
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