err = ExtAudioFileCreateWithURL(fileURL, fileType, &clientFormat, NULL,
overwrite ? kAudioFileFlags_EraseFile : 0, &s->audioFile);
if (err) {
- AUBIO_ERR("error when trying to access %s, in ExtAudioFileOpenURL, %d\n", s->path, (int)err);
+ AUBIO_ERR("error when trying to create %s, in ExtAudioFileCreateWithURL, %d\n", s->path, (int)err);
goto beach;
}
if (createAubioBufferList(&s->bufferList, s->channels, s->max_frames * s->channels)) {
if (s->source) return s;
#endif /* HAVE_SNDFILE */
#endif /* __APPLE__ */
- AUBIO_ERROR("failed creating aubio source with %s", uri);
+ AUBIO_ERROR("failed creating aubio source with %s\n", uri);
AUBIO_FREE(s);
return NULL;
}