aboutsummaryrefslogtreecommitdiffstats
path: root/src/difference.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/difference.c')
-rw-r--r--src/difference.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/difference.c b/src/difference.c
index afa9183..0e4ea30 100644
--- a/src/difference.c
+++ b/src/difference.c
@@ -74,10 +74,10 @@ runDifference_iama_oa(LV2_Handle instance,
Difference* plugin = (Difference*)instance;
/* Input (array of floats of length sample_count) */
- float* input = plugin->input;
+ const float* input = plugin->input;
/* Input to Subtract (array of floats of length sample_count) */
- float* minus = plugin->minus;
+ const float* minus = plugin->minus;
/* Output (array of floats of length sample_count) */
float* output = plugin->output;
@@ -100,10 +100,10 @@ runDifference_iamc_oa(LV2_Handle instance,
Difference* plugin = (Difference*)instance;
/* Input (array of floats of length sample_count) */
- float* input = plugin->input;
+ const float* input = plugin->input;
/* Input to Subtract (float value) */
- float minus = *(plugin->minus);
+ const float minus = *(plugin->minus);
/* Output (array of floats of length sample_count) */
float* output = plugin->output;
@@ -124,10 +124,10 @@ runDifference_icma_oa(LV2_Handle instance,
Difference* plugin = (Difference*)instance;
/* Input (float value) */
- float input = *(plugin->input);
+ const float input = *(plugin->input);
/* Input to Subtract (array of floats of length sample_count) */
- float* minus = plugin->minus;
+ const float* minus = plugin->minus;
/* Output (array of floats of length sample_count) */
float* output = plugin->output;
@@ -148,10 +148,10 @@ runDifference_icmc_oc(LV2_Handle instance,
Difference* plugin = (Difference*)instance;
/* Input (float value) */
- float input = *(plugin->input);
+ const float input = *(plugin->input);
/* Input to Subtract (float value) */
- float minus = *(plugin->minus);
+ const float minus = *(plugin->minus);
/* Output Frequency (pointer to float value) */
float* output = plugin->output;