diff options
Diffstat (limited to 'src/product.c')
-rw-r--r-- | src/product.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/product.c b/src/product.c index cfcc62e..45fa7ec 100644 --- a/src/product.c +++ b/src/product.c @@ -74,10 +74,10 @@ runProduct_iaia_oa(LV2_Handle instance, Product* plugin = (Product*)instance; /* First Input (array of floats of length sample_count) */ - float* input1 = plugin->input1; + const float* input1 = plugin->input1; /* Second Input (array of floats of length sample_count) */ - float* input2 = plugin->input2; + const float* input2 = plugin->input2; /* Output (array of floats of length sample_count) */ float* output = plugin->output; @@ -100,10 +100,10 @@ runProduct_iaic_oa(LV2_Handle instance, Product* plugin = (Product*)instance; /* First Input (array of floats of length sample_count) */ - float* input1 = plugin->input1; + const float* input1 = plugin->input1; /* Second Input (float value) */ - float input2 = *(plugin->input2); + const float input2 = *(plugin->input2); /* Output (array of floats of length sample_count) */ float* output = plugin->output; @@ -124,10 +124,10 @@ runProduct_icic_oc(LV2_Handle instance, Product* plugin = (Product*)instance; /* First Input (float value) */ - float input1 = *(plugin->input1); + const float input1 = *(plugin->input1); /* Second Input (float value) */ - float input2 = *(plugin->input2); + const float input2 = *(plugin->input2); /* Output (pointer to float value) */ float* output = plugin->output; |