本文介绍了iPhone麦克风音量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法用AVFoundation轮询麦克风输入音量吗?我看过CoreAudio的例子,如SpeakHere,但我真的只需要当前的值。是CA我唯一的选择?
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?
推荐答案
你应该检出SCListener。
You should checkout SCListener. It's a simple way just to get the average or peak level of the mic.
这篇关于iPhone麦克风音量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!