从iOS中的所有3个麦克风录制 [英] Record from all 3 microphones in iOS
问题描述
From what I understand the iPhone5 has 3 separate microphones (see here), is it possible to record audio from all 3 mics simultaneously? I've been digging through the documents, and I've started digging into RemoteIO and CoreAudio but I can't figure out if its even possible to specify which built-in microphone to record from? Does anyone have any experience with this, or know if its even possible?
谢谢.
推荐答案
以下Pi的注释可能是正确的:您可以选择要录制的麦克风,但不能同时录制多个麦克风.
Pi's comment below is probably correct: You can select which mic to record from, but can't record from multiple mics at same time.
Apple文档说从iOS 7开始是可能的:
Apple documentation says it's possible since iOS 7:
使用iOS 7中引入的API,开发人员可以执行诸如 找到代表内置麦克风的端口说明, 找到特定的麦克风,例如前",后"或底部", 将您选择的麦克风设置为首选数据源, 将内置麦克风端口设置为首选输入,甚至 如果硬件,请选择首选的麦克风极性模式 支持它.参见AVAudioSession.h.
Using APIs introduced in iOS 7, developers can perform tasks such as locating a port description that represents the built-in microphone, locating specific microphones like the "front", "back" or "bottom", setting your choice of microphone as the preferred data source, setting the built-in microphone port as the preferred input and even selecting a preferred microphone polar pattern if the hardware supports it. See AVAudioSession.h.
这篇关于从iOS中的所有3个麦克风录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!