diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern')
-rw-r--r-- | apps/plugins/pdbox/PDa/intern/sfread~.c | 4 | ||||
-rw-r--r-- | apps/plugins/pdbox/PDa/intern/sfwrite~.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/sfread~.c b/apps/plugins/pdbox/PDa/intern/sfread~.c index b357e49291..0a369ce3f5 100644 --- a/apps/plugins/pdbox/PDa/intern/sfread~.c +++ b/apps/plugins/pdbox/PDa/intern/sfread~.c | |||
@@ -114,7 +114,7 @@ static t_int *sfread_perform(t_int *w) | |||
114 | { | 114 | { |
115 | t_sfread* x = (t_sfread*)(w[1]); | 115 | t_sfread* x = (t_sfread*)(w[1]); |
116 | short* buf = x->x_mapaddr; | 116 | short* buf = x->x_mapaddr; |
117 | t_time tmp; | 117 | /* t_time tmp; unused */ |
118 | int c = x->x_channels; | 118 | int c = x->x_channels; |
119 | t_time pos = x->x_pos; | 119 | t_time pos = x->x_pos; |
120 | t_sample speed = x->x_speed; | 120 | t_sample speed = x->x_speed; |
@@ -137,7 +137,7 @@ static t_int *sfread_perform(t_int *w) | |||
137 | } | 137 | } |
138 | pos = x->x_skip; | 138 | pos = x->x_skip; |
139 | } | 139 | } |
140 | tmp = n*speed; | 140 | /* tmp = n*speed; unused */ |
141 | 141 | ||
142 | if (pos + n*speed <= 0) { // playing backwards end | 142 | if (pos + n*speed <= 0) { // playing backwards end |
143 | if (!x->x_loop) { | 143 | if (!x->x_loop) { |
diff --git a/apps/plugins/pdbox/PDa/intern/sfwrite~.c b/apps/plugins/pdbox/PDa/intern/sfwrite~.c index c53698c091..6f801921ef 100644 --- a/apps/plugins/pdbox/PDa/intern/sfwrite~.c +++ b/apps/plugins/pdbox/PDa/intern/sfwrite~.c | |||
@@ -137,7 +137,7 @@ static t_int *sfwrite_perform(t_int *w) | |||
137 | short* tout = out; | 137 | short* tout = out; |
138 | int ret; | 138 | int ret; |
139 | int timebefore,timeafter; | 139 | int timebefore,timeafter; |
140 | double late; | 140 | /* double late; unused */ |
141 | 141 | ||
142 | for (i=0;i < c;i++) { | 142 | for (i=0;i < c;i++) { |
143 | in[i] = (t_sample *)(w[2+i]); | 143 | in[i] = (t_sample *)(w[2+i]); |
@@ -161,7 +161,7 @@ static t_int *sfwrite_perform(t_int *w) | |||
161 | 161 | ||
162 | } | 162 | } |
163 | timeafter = sys_getrealtime(); | 163 | timeafter = sys_getrealtime(); |
164 | late = timeafter - timebefore; | 164 | /* late = timeafter - timebefore; unused */ |
165 | 165 | ||
166 | #if 0 | 166 | #if 0 |
167 | /* OK, we let only 10 ms block here */ | 167 | /* OK, we let only 10 ms block here */ |