Function

AudioComponentInstanceNew

Creates a new instance of an audio component.

Declaration

OSStatus AudioComponentInstanceNew(AudioComponent inComponent, AudioComponentInstance  _Nullable *outInstance);

Parameters

inComponent

The audio component that you want to create a new instance of.

outInstance

On output, the new audio component instance.

Return Value

A result code.

See Also

Audio Component Services Functions

AudioComponentCopyName

Returns the generic name of an audio component.

AudioComponentCount

Returns the number of audio components that match a specified AudioComponentDescription structure.

AudioComponentFindNext

Finds the next component that matches a specified AudioComponentDescription structure after a specified audio component.

AudioComponentGetDescription

Gets the class description, as an AudioComponentDescription structure, of an audio component.

AudioComponentInstanceCanDo

Determines if an audio component instance implements a particular function.

AudioComponentGetVersion

Gets the version of an audio component in hexadecimal form as 0xMMMMmmDD (major, minor, dot).

AudioComponentInstanceDispose

Disposes of an audio component instance.

AudioComponentInstanceGetComponent

Retrieves a reference to an audio component from an instance of that audio component.