Changeset 78c21cf


Ignore:
Timestamp:
Dec 31, 2013, 12:25:04 AM (11 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:
67b05b4
Parents:
5644069
Message:

src/spectral/mfcc.c: improve build with -Wdeclaration-after-statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/mfcc.c

    r5644069 r78c21cf  
    5252  /* allocate space for mfcc object */
    5353  aubio_mfcc_t *mfcc = AUBIO_NEW (aubio_mfcc_t);
     54  smpl_t scaling;
    5455
    5556  uint_t i, j;
     
    7172  /* compute DCT transform dct_coeffs[i][j] as
    7273     cos ( j * (i+.5) * PI / n_filters ) */
    73   smpl_t scaling = 1. / SQRT (n_filters / 2.);
     74  scaling = 1. / SQRT (n_filters / 2.);
    7475  for (i = 0; i < n_filters; i++) {
    7576    for (j = 0; j < n_coefs; j++) {
Note: See TracChangeset for help on using the changeset viewer.