iPhone 库中的 Mp3 转换为 PCM?
我需要从 iPhone/iPod 库中读取一些音频文件,然后将其传递给函数来进行一些检测。 我需要从 MP3 解码为 PCM,以便在函数中传递一些数据块。我的问题是:最好的方法是什么?我知道可以通过使用 AVAsset 读取和写入不同的文件或使用 ExtAudioFileconvert (如苹果示例中所示)来完成。什么是最有效率的?
I need to read some audio file from the iPhone/iPod library and then pass it to a function to do some detection.
I need to decode from MP3 to PCM in order to pass at the function some chunks of data. My question is: what's the best ay to do this? I know that it can be done by using AVAsset by reading and writing different file or using ExtAudioFileconvert (as seen in apple example). What's the most efficient?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论