在 iPhone5(可能还有 iPad mini)上,此代码返回 3 个输入 channel
UInt32 numInputChannels;
// Check the number of input channels.
UInt32 size = sizeof(numInputChannels);
UInt32 newNumChannels;
CheckError(AudioSessionGetProperty(kAudioSessionProperty_CurrentHardwareInputNumberChannels,
&size,
&newNumChannels), "Checking number of input channels");
numInputChannels = newNumChannels;
我的问题是为什么是 3? 我在 iPhone4S、iPod4、iPad2、iPad3 上检查了这段代码 - 它返回 1 - 这是麦克风
但是其他 2 个是什么?
最佳答案
iPhone 5 具有三个内置麦克风以实现更好的录音效果,他们在主题演讲中对此进行了解释。 READ
关于ios - 在 iPhone5 上有 3 个输入 channel (不是 1 个),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18574160/