How to use FLAC in iPhone application?

醉酒当歌 提交于 2019-12-04 12:10:45

问题


I'm developing iPhone app that should use Google Voice API, so my app should convert voice recorded in m4a to flac. Of course I should use libflac, but all my attempts to compile static library for iOS were failed due to linker errors.

So the question is: where could I find static iOS binaries of libflac or what should I do to compile it?


回答1:


ScummVM has libflac in their iPhone setup. See: http://wiki.scummvm.org/index.php/Compiling_ScummVM/iPhone

I'm sure you can look over their setup to figure it out.




回答2:


Take a look at this:

https://github.com/jhurt/FLACiOS

Makes the integration of libflac into ios apps very easy...

Have fun



来源:https://stackoverflow.com/questions/5796375/how-to-use-flac-in-iphone-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!