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?
You should checkout SCListener. It's a simple way just to get the average or peak level of the mic.
来源:https://stackoverflow.com/questions/477020/iphone-mic-volume