Upravit

Sdílet prostřednictvím


IAUAudioUnitFactory.CreateAudioUnit Method

Definition

Creates and returns an audio unit.

[Foundation.Export("createAudioUnitWithComponentDescription:error:")]
[Foundation.Preserve(Conditional=true)]
public AudioUnit.AUAudioUnit CreateAudioUnit (AudioUnit.AudioComponentDescription desc, out Foundation.NSError error);
abstract member CreateAudioUnit : AudioUnit.AudioComponentDescription *  -> AudioUnit.AUAudioUnit

Parameters

desc
AudioComponentDescription

A description for the audio unit.

error
NSError

An out parameter into which any errors that are encountered are written.

Returns

An audio unit.

Attributes

Applies to