Changeset 67b05b4 for src/io


Ignore:
Timestamp:
Dec 31, 2013, 12:26:14 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:
ddf04fd
Parents:
78c21cf
Message:

src/io/source_sndfile.c: improve build with -Wdeclaration-after-statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    r78c21cf r67b05b4  
    6464aubio_source_sndfile_t * new_aubio_source_sndfile(char_t * path, uint_t samplerate, uint_t hop_size) {
    6565  aubio_source_sndfile_t * s = AUBIO_NEW(aubio_source_sndfile_t);
     66  SF_INFO sfinfo;
    6667
    6768  if (path == NULL) {
     
    8384
    8485  // try opening the file, getting the info in sfinfo
    85   SF_INFO sfinfo;
    8686  AUBIO_MEMSET(&sfinfo, 0, sizeof (sfinfo));
    8787  s->handle = sf_open (s->path, SFM_READ, &sfinfo);
Note: See TracChangeset for help on using the changeset viewer.