Contents

PropertyAddress(_:scope:element:)

A helper constructor for the AudioObjectPropertyAddress struct.

Declaration

func PropertyAddress(_ selector: AudioObjectPropertySelector, scope: AudioObjectPropertyScope = kAudioObjectPropertyScopeGlobal, element: AudioObjectPropertyElement = kAudioObjectPropertyElementMain) -> AudioObjectPropertyAddress

Parameters

  • selector:

    An AudioObjectPropertySelector four char code that identifies a property

  • scope:

    An AudioObjectPropertyScope with a default value of kAudioObjectPropertyScopeGlobal

  • element:

    An AudioObjectPropertyElement with a default value of kAudioObjectPropertyElementMain

Return Value

An AudioObjectPropertyAddress collects these three parts that identify a specific property together in a struct for easy transmission.

See Also

Functions