aboutsummaryrefslogtreecommitdiff
path: root/audio/blop/files/patch-src-sequencer64_1675.so.c
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-02-11 22:28:31 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-02-11 22:28:31 +0000
commit1d7340c395d535ef713f8fb97e0d75eca0ed4136 (patch)
tree3001a85f7073f8ee40a2935baf6ce634b13fe8cc /audio/blop/files/patch-src-sequencer64_1675.so.c
parenta2bfb54f41547548c8a4a1ca9e3c7c9097e0405f (diff)
downloadports-1d7340c395d535ef713f8fb97e0d75eca0ed4136.tar.gz
ports-1d7340c395d535ef713f8fb97e0d75eca0ed4136.zip
Notes
Diffstat (limited to 'audio/blop/files/patch-src-sequencer64_1675.so.c')
-rw-r--r--audio/blop/files/patch-src-sequencer64_1675.so.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/blop/files/patch-src-sequencer64_1675.so.c b/audio/blop/files/patch-src-sequencer64_1675.so.c
new file mode 100644
index 000000000000..f77dcc760049
--- /dev/null
+++ b/audio/blop/files/patch-src-sequencer64_1675.so.c
@@ -0,0 +1,27 @@
+--- src/sequencer64_1675.so.c.orig Tue Feb 11 09:17:22 2003
++++ src/sequencer64_1675.so.c Tue Feb 11 09:17:46 2003
+@@ -132,6 +132,8 @@
+ void runSequencer(LADSPA_Handle instance,
+ unsigned long sample_count)
+ {
++ int i,rst;
++ unsigned long s;
+ Sequencer *plugin = (Sequencer *)instance;
+
+ /* Gate */
+@@ -165,14 +167,11 @@
+ unsigned int loop_index = f_round_i(loop_steps);
+ loop_index = loop_index == 0 ? 1 : loop_index;
+ loop_index = loop_index > 64 ? 64 : loop_index;
+- int rst = f_round_i(reset);
+- int i;
++ rst = f_round_i(reset);
+
+ for (i = 0; i < 64; i++) {
+ values[i] = *(plugin->values[i]);
+ }
+-
+- unsigned long s;
+
+ for (s = 0; s < sample_count; s++) {
+ if (gate[s] > 0.0f) {