AVAudioEngine.ConnectMidi 方法

定义

重载

ConnectMidi(AVAudioNode, AVAudioNode[], AVAudioFormat, AUMidiOutputEventBlock)
ConnectMidi(AVAudioNode, AVAudioNode, AVAudioFormat, AUMidiOutputEventBlock)

ConnectMidi(AVAudioNode, AVAudioNode[], AVAudioFormat, AUMidiOutputEventBlock)

[Foundation.Export("connectMIDI:toNodes:format:block:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ConnectMidi (AVFoundation.AVAudioNode sourceNode, AVFoundation.AVAudioNode[] destinationNodes, AVFoundation.AVAudioFormat format, AudioUnit.AUMidiOutputEventBlock tapHandler);
abstract member ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode[] * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit
override this.ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode[] * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit

参数

sourceNode
AVAudioNode
destinationNodes
AVAudioNode[]
format
AVAudioFormat
属性

适用于

ConnectMidi(AVAudioNode, AVAudioNode, AVAudioFormat, AUMidiOutputEventBlock)

[Foundation.Export("connectMIDI:to:format:block:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ConnectMidi (AVFoundation.AVAudioNode sourceNode, AVFoundation.AVAudioNode destinationNode, AVFoundation.AVAudioFormat format, AudioUnit.AUMidiOutputEventBlock tapHandler);
abstract member ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit
override this.ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit

参数

sourceNode
AVAudioNode
destinationNode
AVAudioNode
format
AVAudioFormat
属性

适用于