Contents

AudioHardwareServiceGetPropertyDataSize(_:_:_:_:_:)

Gets the payload size for a given property.

Declaration

func AudioHardwareServiceGetPropertyDataSize(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>!, _ inQualifierDataSize: UInt32, _ inQualifierData: UnsafeRawPointer!, _ outDataSize: UnsafeMutablePointer<UInt32>!) -> OSStatus

Parameters

  • inObjectID:

    The HAL audio object to query.

  • inAddress:

    The property whose payload size you want.

  • inQualifierDataSize:

    A UInt32 value indicating the size of the buffer pointed to by the inQualifierData parameter. Not all properties require qualification; in such a case you set this parameter to 0.

  • inQualifierData:

    A buffer of data to be used in determining the value of the property being queried. Not all properties require qualification; in such a case you set this parameter to NULL.

  • outDataSize:

    A UInt32 value indicating the size, in bytes, of the payload for the given property.

Return Value

A result code.

See Also

Related Documentation

Functions