編輯

共用方式為


AVAudioSession.GetPreferredOutputNumberOfChannels Method

Definition

Retrieves the preferred number of output channels.

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

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to

See also

  • <xref:AVFoundation.AVAudioSession.SetPreferredOutputNumberOfChannels>