Changeset a9516b3 for src/io


Ignore:
Timestamp:
Dec 16, 2016, 12:59:30 PM (7 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, sampler, yinfft+
Children:
fa69546
Parents:
3388e1a
Message:

src/io/source.c: add error message when aubio was compiled with no source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source.c

    r3388e1a ra9516b3  
    114114    return s;
    115115  }
     116#else /* failover message */
     117#if !(defined(HAVE_LIBAV) || defined(HAVE_SOURCE_APPLE_AUDIO) || defined(HAVE_SNDFILE))
     118  AUBIO_ERROR("source: failed creating aubio source with %s"
     119     " at samplerate %d with hop_size %d\n", uri, samplerate, hop_size);
     120#endif /* failover */
    116121#endif /* HAVE_WAVREAD */
    117   //AUBIO_ERROR("source: failed creating aubio source with %s"
    118   //   " at samplerate %d with hop_size %d\n", uri, samplerate, hop_size);
    119122  AUBIO_FREE(s);
    120123  return NULL;
Note: See TracChangeset for help on using the changeset viewer.