recorder works on iPhone 3GS but not on iPhone 3G
问题 I have a AVAudioRecorder, which gets initialized like: _recorder = [AVAudioRecorder alloc]; NSMutableDictionary *recordSettings = [[[NSMutableDictionary alloc] initWithCapacity:2] autorelease]; [recordSettings setObject:[NSNumber numberWithInt:kAudioFormatMPEG4AAC] forKey: AVFormatIDKey]; [recordSettings setObject:[NSNumber numberWithInt:AVAudioQualityLow] forKey: AVEncoderAudioQualityKey]; NSURL *url = [NSURL fileURLWithPath:[self getActualSoundPath]]; [_recorder initWithURL:url settings