ios 录音并生成.aac文件
-(void)creatRecordSubject
{
NSMutableDictionary *recordSetting = [[NSMutableDictionary alloc]init] ;
//设置录音格式 AVFormatIDKey==kAudioFormatLinearPCM
[recordSetting setValue:[NSNumber numberWithInt:kAudioFormatMPEG4AAC] forKey:AVFormatIDKey];
//设置录音采样率(Hz) 如:AVSampleRateKey==8000/44100/96000(影响音频的质量)
[recordSetting setValue:[NSNumber numberWithFloat:8000] forKey:AVSampleRateKey];