I'm using ExtAudioFileWrite to write audio data into a file. But when it is interrupted by an alarm, although the file is saved, I get this error. What kind of error is this?
Asked
Active
Viewed 445 times
0
-
Are you sure error code is -66560? extAudioFile function returns following return codes http://developer.apple.com/library/mac/#documentation/MusicAudio/Reference/ExtendedAudioFileServicesReference/Reference/reference.html – Krishnabhadra Aug 23 '11 at 04:02
-
Yes that's exactly what I get. – Namratha Aug 23 '11 at 04:25
1 Answers
0
To decode an error from core audio, search the header files of the framework. In this case, you can look in ExtendedAudioFile.h for -66560, which will lead you to:
kExtAudioFileError_CodecUnavailableInputNotConsumed

morgancodes
- 25,055
- 38
- 135
- 187