Changeset a206edf for src/spectral


Ignore:
Timestamp:
Sep 28, 2016, 12:23:24 AM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
Children:
68586d4
Parents:
b1c0770
Message:

src/spectral/fft.c: use prefixed aubio_ooura_rdft

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/fft.c

    rb1c0770 ra206edf  
    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.