projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed631e9
)
onsetdetection.c: factorise switch, complete specflux deletion
author
Paul Brossier
<piem@piem.org>
Sat, 24 Nov 2007 21:45:54 +0000
(22:45 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 24 Nov 2007 21:45:54 +0000
(22:45 +0100)
src/onset/onsetdetection.c
patch
|
blob
|
history
diff --git
a/src/onset/onsetdetection.c
b/src/onset/onsetdetection.c
index 0dd52cf124f40236e5cacd02704ee985e5765556..b7d42055680d212e9461fed0c14765a42e925cc2 100644
(file)
--- a/
src/onset/onsetdetection.c
+++ b/
src/onset/onsetdetection.c
@@
-325,9
+325,8
@@
void del_aubio_onsetdetection (aubio_onsetdetection_t *o){
del_aubio_hist(o->histog);
break;
case aubio_onset_kl:
- del_fvec(o->oldmag);
- break;
case aubio_onset_mkl:
+ case aubio_onset_specflux:
del_fvec(o->oldmag);
break;
default: