【发布时间】:2011-03-31 09:50:05
【问题描述】:
我有一个 AVAudioRecorder,它的初始化如下:
_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];
此代码在我的模拟器和我的 iPhone 3GS 上完美运行,但在旧款 iPhone 3G 上却不行...
这有什么问题?
谢谢 马库斯
【问题讨论】:
标签: iphone avaudiorecorder 3g iphone-3gs