iPhone Mic volume

只愿长相守 提交于 2019-12-06 17:21:40

问题


Is there any way to poll the mic input volume with AVFoundation? I have seen the CoreAudio examples like SpeakHere but I really only need the current value. Is CA my only option?


回答1:


You should checkout SCListener. It's a simple way just to get the average or peak level of the mic.

http://github.com/stephencelis/sc_listener



来源:https://stackoverflow.com/questions/477020/iphone-mic-volume

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