diff options
Diffstat (limited to 'src/sync_pulse.c')
-rw-r--r-- | src/sync_pulse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sync_pulse.c b/src/sync_pulse.c index 4dc9dad..96f90c7 100644 --- a/src/sync_pulse.c +++ b/src/sync_pulse.c @@ -93,13 +93,13 @@ runSyncPulse_fapaga_oa(LV2_Handle instance, SyncPulse* plugin = (SyncPulse*)instance; /* Frequency (array of float of length sample_count) */ - float* frequency = plugin->frequency; + const float* frequency = plugin->frequency; /* Pulse Width (array of float of length sample_count) */ float* pulsewidth = plugin->pulsewidth; /* Gate (array of float of length sample_count) */ - float* gate = plugin->gate; + const float* gate = plugin->gate; /* Output (pointer to float value) */ float* output = plugin->output; @@ -144,13 +144,13 @@ runSyncPulse_fcpcga_oa(LV2_Handle instance, SyncPulse* plugin = (SyncPulse*)instance; /* Frequency (float value) */ - float frequency = *(plugin->frequency); + const float frequency = *(plugin->frequency); /* Pulse Width (float value) */ float pulsewidth = f_clip(*(plugin->pulsewidth), 0.0f, 1.0f); /* Gate (array of float of length sample_count) */ - float* gate = plugin->gate; + const float* gate = plugin->gate; /* Output (pointer to float value) */ float* output = plugin->output; |