projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
396103a
)
src/io/sink_apple_audio.c: print an error if del_aubio_sink_apple_audio failed
author
Paul Brossier
<piem@piem.org>
Mon, 18 Mar 2013 15:47:13 +0000
(10:47 -0500)
committer
Paul Brossier
<piem@piem.org>
Mon, 18 Mar 2013 15:47:13 +0000
(10:47 -0500)
src/io/sink_apple_audio.c
patch
|
blob
|
history
diff --git
a/src/io/sink_apple_audio.c
b/src/io/sink_apple_audio.c
index c1d2e03f7c37df7c24c6ab84ce3f4fe07c16f174..b3e4aa365eca6507995214009ac6d4948d1b0386 100644
(file)
--- 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;