AVAudioUnit.FromComponentDescription Method

Definition

Creates and returns a new AVAudioUnit from the specified audioComponentDescription, running a handler after it has created it.

[Foundation.Export("instantiateWithComponentDescription:options:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static void FromComponentDescription (AudioUnit.AudioComponentDescription audioComponentDescription, AudioUnit.AudioComponentInstantiationOptions options, Action<AVFoundation.AVAudioUnit,Foundation.NSError> completionHandler);
static member FromComponentDescription : AudioUnit.AudioComponentDescription * AudioUnit.AudioComponentInstantiationOptions * Action<AVFoundation.AVAudioUnit, Foundation.NSError> -> unit

Parameters

audioComponentDescription
AudioComponentDescription

A value that contains the manufacturer, name, and version of the underlying audio unit hardware.

options
AudioComponentInstantiationOptions

A value that controls whether the unit will be loaded in or out of process.

completionHandler
Action<AVAudioUnit,NSError>

A handler to run when the operation is complete.

Attributes

Applies to