Changeset ad2eac2


Ignore:
Timestamp:
Mar 5, 2017, 7:29:33 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
Children:
dcecaec
Parents:
72af472
Message:

src/io/sink.c: make sure an error is raised when no sink is built in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink.c

    r72af472 rad2eac2  
    9898  }
    9999#endif /* HAVE_WAVWRITE */
    100   //AUBIO_ERROR("sink: failed creating '%s' with samplerate %dHz\n",
    101   //    uri, samplerate);
     100#if !defined(HAVE_WAVWRITE) && !defined(HAVE_SNDFILE) && !defined(HAVE_SINK_APPLE_AUDIO)
     101  AUBIO_ERROR("sink: failed creating '%s' (no sink built-in)\n",
     102      uri, samplerate);
     103#endif
    102104  AUBIO_FREE(s);
    103105  return NULL;
Note: See TracChangeset for help on using the changeset viewer.