void aubio_destruct() { del_aubio_pvoc(pv); del_fvec(ibuf); del_cvec(fftgrain); del_aubio_onsetdetection(o); del_aubio_peakpicker(parms); del_fvec(onset); if (usedoubled) { del_aubio_onsetdetection(o2); del_fvec(onset2); } }
void del_aubio_tempo (aubio_tempo_t *o) { del_aubio_onsetdetection(o->od); del_aubio_beattracking(o->bt); del_aubio_peakpicker(o->pp); del_aubio_pvoc(o->pv); del_fvec(o->out); del_fvec(o->of); del_cvec(o->fftgrain); del_fvec(o->dfframe); AUBIO_FREE(o); return; }