2013年1月15日

iPhone开发之音频101(Part 2):转换和录音

摘要: 原文:http://article.ityran.com/archives/372翻译:大侠自来也 校对:Benna,yuezang,Iven原文链接地址:http://www.raywenderlich.com/233/audio-101-for-iphone-developers-converting-and-recording这篇文章是这个系列(涵盖iPhone开发者感兴趣的音频主题)的第二篇。本文由泰然教程组出品,转载请注明出处并通知泰然.在这个系列的第一篇文章中,我讲解了文件格式和数据格式的区别,还有哪些格式是在iPhone上面支持的。现在,让我们讨论一下你怎么样在不同格式之间转换。 阅读全文

posted @ 2013-01-15 15:42 kiao295338444 阅读(314) 评论(0) 推荐(0) 编辑

ios获取音频或者视频是时间长度

摘要: AVURLAsset* audioAsset =[AVURLAssetURLAssetWithURL:audioFileURL options:nil];CMTime audioDuration = audioAsset.duration;float audioDurationSeconds =CMTimeGetSeconds(audioDuration);Note that AVFoundation is designed as a heavily asynchronous framework in order to improve performance and the overall u 阅读全文

posted @ 2013-01-15 09:49 kiao295338444 阅读(1100) 评论(0) 推荐(0) 编辑

导航