Changeset 83b385f


Ignore:
Timestamp:
Jul 11, 2012, 10:44:27 PM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
93004d5
Parents:
312826c
Message:

src/spectral/specdesc.c: remove old comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/specdesc.c

    r312826c r83b385f  
    312312  }
    313313
    314   /* this switch could be in its own function to change between
    315    * detections on the fly. this would need getting rid of the switch
    316    * above and always allocate all the structure */
    317 
    318314  switch(onset_type) {
    319315    case aubio_onset_energy:
     
    341337      o->funcpointer = aubio_specdesc_specflux;
    342338      break;
    343     // for for the additional descriptors. these don't need additional memory
    344339    case aubio_specmethod_centroid:
    345340      o->funcpointer = aubio_specdesc_centroid;
     
    372367void del_aubio_specdesc (aubio_specdesc_t *o){
    373368  switch(o->onset_type) {
    374     /* for both energy and hfc, only fftgrain->norm is required */
    375369    case aubio_onset_energy:
    376370      break;
    377371    case aubio_onset_hfc:
    378372      break;
    379       /* the other approaches will need some more memory spaces */
    380373    case aubio_onset_complex:
    381374      del_fvec(o->oldmag);
Note: See TracChangeset for help on using the changeset viewer.