iOS:在设备上创建 MP3 [英] iOS: Create an MP3 on device
问题描述
我正在尝试在设备 (iPhone) 上创建 MP3 音频文件.
我发现无法直接以 MP3 格式录制.
仅可能包含 AIFF、线性 PCM 等的 .caf 文件
我还发现了 here 有一个 AudioConverterFillComplexBuffer
函数,理论上可以将 CAF 文件转换为 MP3,但我找不到任何示例代码或有关如何使用该函数的说明.>
任何帮助将不胜感激.
--迈克尔·凯斯勒
尝试使用 LAME - 开源 MP3 编码器库 (liblame)
I am trying to create an MP3 audio file on the device (iPhone).
I have found that there is no possibility to record directly in MP3 format.
Only .caf file that may contain AIFF, Linear PCM etc.
I have also found here that there is an AudioConverterFillComplexBuffer
function that might, theoretically, convert CAF file to MP3, but I can't find any sample code or explanation on how to use this function.
Any help will be greatly appreciated.
-- Michael Kessler
Try using LAME - open source MP3 encoder library (liblame)
这篇关于iOS:在设备上创建 MP3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!