summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/intern
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern')
-rw-r--r--apps/plugins/pdbox/PDa/intern/ftom~.c2
-rw-r--r--apps/plugins/pdbox/PDa/intern/samphold~.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/ftom~.c b/apps/plugins/pdbox/PDa/intern/ftom~.c
index 0b6fa14a00..a31b02cbd3 100644
--- a/apps/plugins/pdbox/PDa/intern/ftom~.c
+++ b/apps/plugins/pdbox/PDa/intern/ftom~.c
@@ -30,7 +30,7 @@ static t_int *ftom_tilde_perform(t_int *w)
30 t_sample *in = *(t_sample **)(w+1), *out = *(t_float **)(w+2); 30 t_sample *in = *(t_sample **)(w+1), *out = *(t_float **)(w+2);
31#endif 31#endif
32 t_int n = *(t_int *)(w+3); 32 t_int n = *(t_int *)(w+3);
33 for (; n--; *in++, out++) 33 for (; n--; in++, out++)
34 { 34 {
35 t_sample f = *in; 35 t_sample f = *in;
36 *out = ftofix((fixtof(f) > 0 ? 17.3123405046 * log(.12231220585 * fixtof(f)) : -1500)); 36 *out = ftofix((fixtof(f) > 0 ? 17.3123405046 * log(.12231220585 * fixtof(f)) : -1500));
diff --git a/apps/plugins/pdbox/PDa/intern/samphold~.c b/apps/plugins/pdbox/PDa/intern/samphold~.c
index 8f0656c795..b750399261 100644
--- a/apps/plugins/pdbox/PDa/intern/samphold~.c
+++ b/apps/plugins/pdbox/PDa/intern/samphold~.c
@@ -32,7 +32,7 @@ static t_int *sigsamphold_perform(t_int *w)
32 int i; 32 int i;
33 t_sample lastin = x->x_lastin; 33 t_sample lastin = x->x_lastin;
34 t_sample lastout = x->x_lastout; 34 t_sample lastout = x->x_lastout;
35 for (i = 0; i < n; i++, *in1++) 35 for (i = 0; i < n; i++, in1++)
36 { 36 {
37 t_sample next = *in2++; 37 t_sample next = *in2++;
38 if (next < lastin) lastout = *in1; 38 if (next < lastin) lastout = *in1;