diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-01 15:51:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-01 16:02:08 +0100 |
commit | 63200eab0542f5ff96a2845967e391f785e64ee8 (patch) | |
tree | 4a3681754299125e81e82b1ed03a12995d86a16c /libs/plugins/reasonablesynth.lv2 | |
parent | 9079f213c2e34ee94862142067cb8de9e35a48a3 (diff) |
Don't use c99 (amend 959947e7f84a)
Diffstat (limited to 'libs/plugins/reasonablesynth.lv2')
-rw-r--r-- | libs/plugins/reasonablesynth.lv2/rsynth.c | 3 |
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; |