I have created an iPhone application to record our voice. When I try to record, I am getting error message in following statement.
recorder = [[ AVAudioReco
If you're in c or cpp code you can do this.
char code[4];
*((SInt32*)&code[0]) = error;
1718449215 is the decimal representation of the four character code for the kAudioFormatUnsupportedDataFormatError
error.
In general you can use something like this to get more information from the errors you receive:
NSError *error = [NSError errorWithDomain:NSOSStatusErrorDomain
code:my_error_code
userInfo:nil];
NSLog(@"Error: %@", [error description]);