timer = [NSTimerscheduledTimerWithTimeInterval:0.1ftarget:selfselector:@selector(updateMeters) userInfo:nilrepeats:YES];
[recorderupdateMeters];
curCount += 0.1f;
我的小timer啊,用下面这个自己计算吧,录制完后,
AVAudioPlayer *player = [[AVAudioPlayeralloc]initWithContentsOfURL:[NSURLURLWithString:_filePath]error:Nil];
TTLog(@"%f",player.duration);