diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern/tabosc4~.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/intern/tabosc4~.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/tabosc4~.c b/apps/plugins/pdbox/PDa/intern/tabosc4~.c index f9b6ad0ac3..1c41e44bc3 100644 --- a/apps/plugins/pdbox/PDa/intern/tabosc4~.c +++ b/apps/plugins/pdbox/PDa/intern/tabosc4~.c | |||
@@ -77,7 +77,11 @@ zero: | |||
77 | void tabosc4_tilde_set(t_tabosc4_tilde *x, t_symbol *s) | 77 | void tabosc4_tilde_set(t_tabosc4_tilde *x, t_symbol *s) |
78 | { | 78 | { |
79 | t_garray *a; | 79 | t_garray *a; |
80 | #ifdef ROCKBOX | ||
81 | int pointsinarray; | ||
82 | #else | ||
80 | int npoints, pointsinarray; | 83 | int npoints, pointsinarray; |
84 | #endif | ||
81 | x->x_arrayname = s; | 85 | x->x_arrayname = s; |
82 | 86 | ||
83 | if (!(a = (t_garray *)pd_findbyclass(x->x_arrayname, garray_class))) | 87 | if (!(a = (t_garray *)pd_findbyclass(x->x_arrayname, garray_class))) |
@@ -93,7 +97,9 @@ void tabosc4_tilde_set(t_tabosc4_tilde *x, t_symbol *s) | |||
93 | } | 97 | } |
94 | else | 98 | else |
95 | { | 99 | { |
100 | #ifndef ROCKBOX | ||
96 | int i; | 101 | int i; |
102 | #endif | ||
97 | x->x_fnpoints = pointsinarray; | 103 | x->x_fnpoints = pointsinarray; |
98 | x->x_lognpoints = ilog2(pointsinarray); | 104 | x->x_lognpoints = ilog2(pointsinarray); |
99 | post("tabosc~: using %d (log %d) points of array",x->x_fnpoints,x->x_lognpoints); | 105 | post("tabosc~: using %d (log %d) points of array",x->x_fnpoints,x->x_lognpoints); |