projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
2de7cfa
09b4be9
)
Merge branch 'feature/sink_flac' into feature/autosink
author
Paul Brossier
<piem@piem.org>
Mon, 17 Dec 2018 15:42:29 +0000
(16:42 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 17 Dec 2018 15:42:29 +0000
(16:42 +0100)
1
2
src/io/sink.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
src/io/sink.c
index
178937d
,
f8ac5fd
..
61b7bd4
---
1
/
src/io/sink.c
---
2
/
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;
}