summaryrefslogtreecommitdiff
path: root/libs/plugins/reasonablesynth.lv2
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-01 15:51:17 +0100
committerRobin Gareus <robin@gareus.org>2019-03-01 16:02:08 +0100
commit63200eab0542f5ff96a2845967e391f785e64ee8 (patch)
tree4a3681754299125e81e82b1ed03a12995d86a16c /libs/plugins/reasonablesynth.lv2
parent9079f213c2e34ee94862142067cb8de9e35a48a3 (diff)
Don't use c99 (amend 959947e7f84a)
Diffstat (limited to 'libs/plugins/reasonablesynth.lv2')
-rw-r--r--libs/plugins/reasonablesynth.lv2/rsynth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/plugins/reasonablesynth.lv2/rsynth.c b/libs/plugins/reasonablesynth.lv2/rsynth.c
index cee4042b94..6f8c845145 100644
--- a/libs/plugins/reasonablesynth.lv2/rsynth.c
+++ b/libs/plugins/reasonablesynth.lv2/rsynth.c
@@ -333,7 +333,8 @@ synth_fragment (void *synth, const size_t n_samples, float *left, float *right)
static void
synth_reset_channel(RSSynthChannel* sc)
{
- for (int k = 0; k < 128; ++k) {
+ int k;
+ for (k = 0; k < 128; ++k) {
sc->adsr_cnt[k] = 0;
sc->adsr_amp[k] = 0;
sc->phase[k] = -10;