ref: 93e34637b3c0f591e779b0a31d88a02859489dc7
parent: 396103a699e2b71d501e282457c2e52faf3d9e95
author: Paul Brossier <piem@piem.org>
date: Mon Mar 18 06:47:13 EDT 2013
src/io/sink_apple_audio.c: print an error if del_aubio_sink_apple_audio failed
--- a/src/io/sink_apple_audio.c
+++ b/src/io/sink_apple_audio.c
@@ -122,7 +122,10 @@
void del_aubio_sink_apple_audio(aubio_sink_apple_audio_t * s) {
OSStatus err = noErr;
- if (!s || !s->audioFile) { return; }
+ if (!s || !s->audioFile) {
+ AUBIO_ERR("failed erasing sink_apple_audio\n");
+ return;
+ }
err = ExtAudioFileDispose(s->audioFile);
if (err) AUBIO_ERROR("error in ExtAudioFileDispose, %d\n", (int)err);
s->audioFile = NULL;