From 93e34637b3c0f591e779b0a31d88a02859489dc7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 18 Mar 2013 10:47:13 -0500 Subject: [PATCH] src/io/sink_apple_audio.c: print an error if del_aubio_sink_apple_audio failed --- src/io/sink_apple_audio.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/io/sink_apple_audio.c b/src/io/sink_apple_audio.c index c1d2e03f..b3e4aa36 100644 --- a/src/io/sink_apple_audio.c +++ b/src/io/sink_apple_audio.c @@ -122,7 +122,10 @@ void aubio_sink_apple_audio_do(aubio_sink_apple_audio_t * s, fvec_t * write_data 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; -- 2.26.2