From: Paul Brossier Date: Mon, 17 Dec 2018 15:42:29 +0000 (+0100) Subject: Merge branch 'feature/sink_flac' into feature/autosink X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=d013a9358f7f1a49b13ef854c7f020c5b05a0933;p=aubio.git Merge branch 'feature/sink_flac' into feature/autosink --- d013a9358f7f1a49b13ef854c7f020c5b05a0933 diff --cc src/io/sink.c index 178937dd,f8ac5fdd..61b7bd41 --- a/src/io/sink.c +++ b/src/io/sink.c @@@ -189,12 -99,10 +189,12 @@@ aubio_sink_t * new_aubio_sink(const cha #endif /* HAVE_WAVWRITE */ #if !defined(HAVE_WAVWRITE) && \ !defined(HAVE_SNDFILE) && \ - !defined(HAVE_SINK_APPLE_AUDIO) + !defined(HAVE_SINK_APPLE_AUDIO) && \ + !defined(HAVE_VORBISENC) && \ + !defined(HAVE_FLAC) AUBIO_ERROR("sink: failed creating '%s' at %dHz (no sink built-in)\n", uri, samplerate); #endif - AUBIO_FREE(s); + del_aubio_sink(s); return NULL; }