iPhone麦克风音量 [英] iPhone Mic volume
本文介绍了iPhone麦克风音量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么办法来轮询与AVFoundation麦克风输入音量?我曾见过这样的SpeakHere例子CoreAudio的,但我真的只需要当前值。 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。这是一个简单的方法只是为了让MIC的平均值或峰值水平。
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麦克风音量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文