2011-05-09 91 views
4

我已经使用avaudiorecoder录制了用户的声音。它会记录它,但是当我播放它时,声音会被crack断。任何有关这方面的帮助将不胜感激.....按照我的记录器设置的代码..avaudiorecorder录音后播放时发生扭曲声音

NSDictionary *recordSetting =[[NSDictionary alloc] initWithObjectsAndKeys:[NSNumber  numberWithInt:kAudioFormatAppleIMA4],AVFormatIDKey, 
             [NSNumber numberWithInt:16000.0],AVSampleRateKey, 
             [NSNumber numberWithInt: 1],AVNumberOfChannelsKey, 
             [NSNumber numberWithInt:16],AVLinearPCMBitDepthKey, 
             [NSNumber numberWithBool:NO],AVLinearPCMIsBigEndianKey, 
             [NSNumber numberWithBool:NO],AVLinearPCMIsFloatKey, 
             [NSNumber numberWithInt:AVAudioQualityMax],AVEncoderAudioQualityKey, 
             nil]; 

回答