J'ai un AVAudioRecorder, qui obtient initialisé comme:fonctionne enregistreur sur iPhone 3GS, mais pas sur iPhone 3G
_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:recordSettings error:nil];
[_recorder setDelegate:self];
Ce code fonctionne parfaitement dans mon simulateur et sur mon iPhone 3GS, mais pas sur l'ancien iPhone 3G. ..
Quel est le problème là-dessus?
Merci Markus