Line 0
Link Here
|
|
|
1 |
--- src/sequencer16_1677.so.c.orig Tue Feb 11 09:18:27 2003 |
2 |
+++ src/sequencer16_1677.so.c Tue Feb 11 09:18:44 2003 |
3 |
@@ -132,6 +132,8 @@ |
4 |
void runSequencer(LADSPA_Handle instance, |
5 |
unsigned long sample_count) |
6 |
{ |
7 |
+ int i,rst; |
8 |
+ unsigned long s; |
9 |
Sequencer *plugin = (Sequencer *)instance; |
10 |
|
11 |
/* Gate */ |
12 |
@@ -165,14 +167,11 @@ |
13 |
unsigned int loop_index = f_round_i(loop_steps); |
14 |
loop_index = loop_index == 0 ? 1 : loop_index; |
15 |
loop_index = loop_index > 16 ? 16 : loop_index; |
16 |
- int rst = f_round_i(reset); |
17 |
- int i; |
18 |
+ rst = f_round_i(reset); |
19 |
|
20 |
for (i = 0; i < 16; i++) { |
21 |
values[i] = *(plugin->values[i]); |
22 |
} |
23 |
- |
24 |
- unsigned long s; |
25 |
|
26 |
for (s = 0; s < sample_count; s++) { |
27 |
if (gate[s] > 0.0f) { |