Changeset b5d32cb


Ignore:
Timestamp:
Sep 5, 2015, 2:00:43 AM (9 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:
39c4721
Parents:
152ed05
Message:

src/spectral/fft.c: use memcpy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/fft.c

    r152ed05 rb5d32cb  
    231231void aubio_fft_do_complex(aubio_fft_t * s, fvec_t * input, fvec_t * compspec) {
    232232  uint_t i;
     233#ifndef HAVE_MEMCPY_HACKS
    233234  for (i=0; i < s->winsize; i++) {
    234235    s->in[i] = input->data[i];
    235236  }
     237#else
     238  memcpy(s->in, input->data, s->winsize * sizeof(smpl_t));
     239#endif /* HAVE_MEMCPY_HACKS */
    236240#ifdef HAVE_FFTW3             // using FFTW3
    237241  fftw_execute(s->pfw);
Note: See TracChangeset for help on using the changeset viewer.