Changeset f50c9503 for src


Ignore:
Timestamp:
Sep 28, 2016, 1:53:29 AM (8 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:
1b57274
Parents:
392ad1c
git-author:
Paul Brossier <piem@piem.org> (09/28/16 00:23:24)
git-committer:
Paul Brossier <piem@piem.org> (09/28/16 01:53:29)
Message:

src/spectral/fft.c: use prefixed aubio_ooura_rdft

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/fft.c

    r392ad1c rf50c9503  
    115115#else                         // using OOURA
    116116// let's use ooura instead
    117 extern void rdft(int, int, smpl_t *, int *, smpl_t *);
     117extern void aubio_ooura_rdft(int, int, smpl_t *, int *, smpl_t *);
    118118
    119119#endif /* HAVE_ACCELERATE */
     
    283283  aubio_vDSP_vsmul(compspec->data, 1, &scale, compspec->data, 1, s->fft_size);
    284284#else                         // using OOURA
    285   rdft(s->winsize, 1, s->in, s->ip, s->w);
     285  aubio_ooura_rdft(s->winsize, 1, s->in, s->ip, s->w);
    286286  compspec->data[0] = s->in[0];
    287287  compspec->data[s->winsize / 2] = s->in[1];
     
    341341    s->out[2 * i + 1] = - compspec->data[s->winsize - i];
    342342  }
    343   rdft(s->winsize, -1, s->out, s->ip, s->w);
     343  aubio_ooura_rdft(s->winsize, -1, s->out, s->ip, s->w);
    344344  for (i=0; i < s->winsize; i++) {
    345345    output->data[i] = s->out[i] * scale;
Note: See TracChangeset for help on using the changeset viewer.