OSStatus error 1718449215

前端 未结 8 1237
陌清茗
陌清茗 2020-12-08 19:25

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         


        
8条回答
  •  情深已故
    2020-12-08 19:52

    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]);
    

提交回复
热议问题