shithub: aubio

Download patch

ref: ad2eac2a0413f1a7f536840acb4851058a8eb922
parent: 72af472e132e08a5cd1fd8bb1b7ce1f3561960e2
author: Paul Brossier <piem@piem.org>
date: Sun Mar 5 14:29:33 EST 2017

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

--- a/src/io/sink.c
+++ b/src/io/sink.c
@@ -97,8 +97,10 @@
     return s;
   }
 #endif /* HAVE_WAVWRITE */
-  //AUBIO_ERROR("sink: failed creating '%s' with samplerate %dHz\n",
-  //    uri, samplerate);
+#if !defined(HAVE_WAVWRITE) && !defined(HAVE_SNDFILE) && !defined(HAVE_SINK_APPLE_AUDIO)
+  AUBIO_ERROR("sink: failed creating '%s' (no sink built-in)\n",
+      uri, samplerate);
+#endif
   AUBIO_FREE(s);
   return NULL;
 }