diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern/tabread~.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/intern/tabread~.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/tabread~.c b/apps/plugins/pdbox/PDa/intern/tabread~.c index 5a7ea5d57f..c46a9045a0 100644 --- a/apps/plugins/pdbox/PDa/intern/tabread~.c +++ b/apps/plugins/pdbox/PDa/intern/tabread~.c | |||
@@ -1,4 +1,7 @@ | |||
1 | #ifndef ROCKBOX | ||
1 | #define FIXEDPOINT | 2 | #define FIXEDPOINT |
3 | #endif | ||
4 | |||
2 | #include <m_pd.h> | 5 | #include <m_pd.h> |
3 | #include <m_fixed.h> | 6 | #include <m_fixed.h> |
4 | 7 | ||
@@ -30,7 +33,11 @@ static t_int *tabread_tilde_perform(t_int *w) | |||
30 | t_sample *out = (t_sample *)(w[3]); | 33 | t_sample *out = (t_sample *)(w[3]); |
31 | int n = (int)(w[4]); | 34 | int n = (int)(w[4]); |
32 | int maxindex; | 35 | int maxindex; |
36 | #ifdef ROCKBOX | ||
37 | t_sample *buf = x->x_vec; | ||
38 | #else | ||
33 | t_sample *buf = x->x_vec, *fp; | 39 | t_sample *buf = x->x_vec, *fp; |
40 | #endif | ||
34 | int i; | 41 | int i; |
35 | 42 | ||
36 | maxindex = x->x_npoints - 1; | 43 | maxindex = x->x_npoints - 1; |
@@ -82,6 +89,9 @@ static void tabread_tilde_dsp(t_tabread_tilde *x, t_signal **sp) | |||
82 | 89 | ||
83 | static void tabread_tilde_free(t_tabread_tilde *x) | 90 | static void tabread_tilde_free(t_tabread_tilde *x) |
84 | { | 91 | { |
92 | #ifdef ROCKBOX | ||
93 | (void) x; | ||
94 | #endif | ||
85 | } | 95 | } |
86 | 96 | ||
87 | void tabread_tilde_setup(void) | 97 | void tabread_tilde_setup(void) |