摘要: 1.获取音频文件路径例如:NSURL*recordedFile=[NSURLfileURLWithPath:[NSTemporaryDirectory()stringByAppendingPathComponent:[NSStringstringWithFormat:@"%.0f.%@",[NSDatetimeIntervalSinceReferenceDate]*1000.0,@"caf"]]];2.将音频文件转成NSDataNSData*soundData=[[NSDataalloc]initWithContentsOfURL:recordedFil 阅读全文
posted @ 2013-08-22 22:22 韦韦韦 阅读(440) 评论(1) 推荐(0)