ref: 83b385ffe982db15d8d9f7224e8993a709bc8910
parent: 312826c9403b0bf90653b1743704204b39ace0cc
author: Paul Brossier <piem@piem.org>
date: Wed Jul 11 10:44:27 EDT 2012
src/spectral/specdesc.c: remove old comments
--- a/src/spectral/specdesc.c
+++ b/src/spectral/specdesc.c
@@ -311,10 +311,6 @@
break;
}
- /* this switch could be in its own function to change between
- * detections on the fly. this would need getting rid of the switch
- * above and always allocate all the structure */
-
switch(onset_type) {
case aubio_onset_energy:
o->funcpointer = aubio_specdesc_energy;
@@ -340,7 +336,6 @@
case aubio_onset_specflux:
o->funcpointer = aubio_specdesc_specflux;
break;
- // for for the additional descriptors. these don't need additional memory
case aubio_specmethod_centroid:
o->funcpointer = aubio_specdesc_centroid;
break;
@@ -371,12 +366,10 @@
void del_aubio_specdesc (aubio_specdesc_t *o){
switch(o->onset_type) {
- /* for both energy and hfc, only fftgrain->norm is required */
case aubio_onset_energy:
break;
case aubio_onset_hfc:
break;
- /* the other approaches will need some more memory spaces */
case aubio_onset_complex:
del_fvec(o->oldmag);
del_fvec(o->dev1);