Changeset a9516b3


Ignore:
Timestamp:
Dec 16, 2016, 12:59:30 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.