projects
/
pd-aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ea2133
)
src/aubiopitch~.c: fix aubiopitch_tilde_del, remove unused variable
author
Paul Brossier
<piem@piem.org>
Tue, 27 Sep 2016 23:31:41 +0000
(
01:31
+0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 27 Sep 2016 23:31:41 +0000
(
01:31
+0200)
src/aubiopitch~.c
patch
|
blob
|
history
diff --git
a/src/aubiopitch~.c
b/src/aubiopitch~.c
index
07b4aac
..
1f188ca
100644
(file)
--- a/
src/aubiopitch~.c
+++ b/
src/aubiopitch~.c
@@
-21,7
+21,6
@@
typedef struct _aubiopitch_tilde
{
t_object x_obj;
t_float threshold;
- t_float threshold2;
t_int pos; /*frames%dspblocksize*/
t_int bufsize;
t_int hopsize;
@@
-88,12
+87,12
@@
static void *aubiopitch_tilde_new (t_symbol * s)
return (void *)x;
}
-
static void *
aubiopitch_tilde_del(t_aubiopitch_tilde *x)
+
void
aubiopitch_tilde_del(t_aubiopitch_tilde *x)
{
+ outlet_free(x->pitch);
del_aubio_pitch(x->o);
del_fvec(x->vec);
del_fvec(x->pitchvec);
- return 0;
}
void aubiopitch_tilde_setup (void)