aboutsummaryrefslogtreecommitdiffstats
path: root/src/product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/product.c')
-rw-r--r--src/product.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/product.c b/src/product.c
index 5c0b488..cfcc62e 100644
--- a/src/product.c
+++ b/src/product.c
@@ -20,9 +20,9 @@
#include <stdlib.h>
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
-#define PRODUCT_INPUT1 0
-#define PRODUCT_INPUT2 1
-#define PRODUCT_OUTPUT 2
+#define PRODUCT_MULTIPLICAND 0
+#define PRODUCT_MULTIPLIER 1
+#define PRODUCT_PRODUCT 2
typedef struct {
float* input1;
@@ -44,13 +44,13 @@ connect_port(LV2_Handle instance,
Product* plugin = (Product*)instance;
switch (port) {
- case PRODUCT_INPUT1:
+ case PRODUCT_MULTIPLICAND:
plugin->input1 = data;
break;
- case PRODUCT_INPUT2:
+ case PRODUCT_MULTIPLIER:
plugin->input2 = data;
break;
- case PRODUCT_OUTPUT:
+ case PRODUCT_PRODUCT:
plugin->output = data;
break;
}