Changeset 42e6a5e for src/io


Ignore:
Timestamp:
Jul 15, 2012, 8:18:49 PM (12 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:
3a6aa799
Parents:
8aed26d
Message:

src/io/source.c: add missing free, indent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source.c

    r8aed26d r42e6a5e  
    3737  aubio_source_t * s = AUBIO_NEW(aubio_source_t);
    3838#ifdef __APPLE__
    39   s->source= (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size);
     39  s->source = (void *)new_aubio_source_apple_audio(uri, samplerate, hop_size);
    4040  if (s->source) return s;
    4141#else /* __APPLE__ */
    4242#if HAVE_SNDFILE
    43   s->source= (void *)new_aubio_source_sndfile(uri, samplerate, hop_size);
     43  s->source = (void *)new_aubio_source_sndfile(uri, samplerate, hop_size);
    4444  if (s->source) return s;
    4545#endif /* HAVE_SNDFILE */
    4646#endif /* __APPLE__ */
    47   if (s->source == NULL) return NULL;
     47  if (s->source == NULL) { AUBIO_FREE(s); return NULL; }
    4848}
    4949
Note: See TracChangeset for help on using the changeset viewer.