projects
/
pd-aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db857b4
)
src/aubiotempo~.c: clean-up aubiotempo_tilde_del
author
Paul Brossier
<piem@piem.org>
Fri, 30 Sep 2016 10:35:50 +0000
(12:35 +0200)
committer
Paul Brossier
<piem@piem.org>
Fri, 30 Sep 2016 10:35:50 +0000
(12:35 +0200)
src/aubiotempo~.c
patch
|
blob
|
history
diff --git
a/src/aubiotempo~.c
b/src/aubiotempo~.c
index
2067e73
..
cb498b4
100644
(file)
--- a/
src/aubiotempo~.c
+++ b/
src/aubiotempo~.c
@@
-96,12
+96,12
@@
static void *aubiotempo_tilde_new (t_floatarg f)
return (void *)x;
}
-static void *aubiotempo_tilde_del(t_aubiotempo_tilde *x)
+static void
+aubiotempo_tilde_del(t_aubiotempo_tilde *x)
{
- if(x->t) del_aubio_tempo(x->t);
- if(x->output) del_fvec(x->output);
- if(x->vec) del_fvec(x->vec);
- return 0;
+ del_aubio_tempo(x->t);
+ del_fvec(x->output);
+ del_fvec(x->vec);
}
void aubiotempo_tilde_setup (void)