AVAudioSession.GetPreferredInputNumberOfChannels 方法

定义

检索首选数量的输入通道。

[Foundation.Export("preferredInputNumberOfChannels")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint GetPreferredInputNumberOfChannels ();
abstract member GetPreferredInputNumberOfChannels : unit -> nint
override this.GetPreferredInputNumberOfChannels : unit -> nint

返回

System.System.IntPtr System.nativeint
属性

适用于

另请参阅

  • <xref:AVFoundation.AVAudioSession.SetPreferredInputNumberOfChannels>