1

在 iPhone5(可能还有 iPad mini)上,此代码返回 3 个输入通道

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 是什么?

4

1 回答 1

1

iPhone 5 有三个内置麦克风,可以更好地录音,他们在主题演讲中解释了这一点。

于 2013-09-02T13:43:58.803 回答