aboutsummaryrefslogtreecommitdiffstats
path: root/src/sawtooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sawtooth.c')
-rw-r--r--src/sawtooth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sawtooth.c b/src/sawtooth.c
index fcef953..24aa529 100644
--- a/src/sawtooth.c
+++ b/src/sawtooth.c
@@ -89,7 +89,7 @@ runSawtooth_fa_oa(LV2_Handle instance,
Sawtooth* plugin = (Sawtooth*)instance;
/* Frequency (array of float of length sample_count) */
- float* frequency = plugin->frequency;
+ const float* frequency = plugin->frequency;
/* Output (pointer to float value) */
float* output = plugin->output;
@@ -126,7 +126,7 @@ runSawtooth_fc_oa(LV2_Handle instance,
Sawtooth* plugin = (Sawtooth*)instance;
/* Frequency (float value) */
- float frequency = *(plugin->frequency);
+ const float frequency = *(plugin->frequency);
/* Output (pointer to float value) */
float* output = plugin->output;