Changeset bab0a12


Ignore:
Timestamp:
Sep 25, 2009, 9:57:18 PM (15 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:
be3ffee
Parents:
ebbf5a0
Message:

src/spectral/phasevoc.c: window only once, remove unused variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/phasevoc.c

    rebbf5a0 rbab0a12  
    4848
    4949void aubio_pvoc_do(aubio_pvoc_t *pv, fvec_t * datanew, cvec_t *fftgrain) {
    50   uint_t i,j;
     50  uint_t i;
    5151  for (i=0; i<pv->channels; i++) {
    5252    /* slide  */
    5353    aubio_pvoc_swapbuffers(pv->data->data[i],pv->dataold->data[i],
    5454        datanew->data[i],pv->win_s,pv->hop_s);
    55     /* windowing */
    56     fvec_weight(pv->data, pv->w);
    5755  }
     56  /* windowing */
     57  fvec_weight(pv->data, pv->w);
    5858  /* shift */
    5959  vec_shift(pv->data);
Note: See TracChangeset for help on using the changeset viewer.