iPhone Mic volume
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 文章来源: iPhone Mic volume