AudioHardwareServiceGetPropertyDataSize(_:_:_:_:_:)
Gets the payload size for a given property.
Declaration
func AudioHardwareServiceGetPropertyDataSize(_ inObjectID: AudioObjectID, _ inAddress: UnsafePointer<AudioObjectPropertyAddress>!, _ inQualifierDataSize: UInt32, _ inQualifierData: UnsafeRawPointer!, _ outDataSize: UnsafeMutablePointer<UInt32>!) -> OSStatusParameters
- inObjectID:
The HAL audio object to query.
- inAddress:
The property whose payload size you want.
- inQualifierDataSize:
A
UInt32value indicating the size of the buffer pointed to by theinQualifierDataparameter. Not all properties require qualification; in such a case you set this parameter to0. - 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
UInt32value indicating the size, in bytes, of the payload for the given property.
Return Value
A result code.
See Also
Related Documentation
Functions
AudioFileReadPackets(_:_:_:_:_:_:_:)AudioComponentGetIcon(_:_:)AudioComponentGetLastActiveTime(_:)AudioHardwareServiceAddPropertyListener(_:_:_:_:)AudioHardwareServiceGetPropertyData(_:_:_:_:_:_:)AudioHardwareServiceHasProperty(_:_:)AudioHardwareServiceIsPropertySettable(_:_:_:)AudioHardwareServiceRemovePropertyListener(_:_:_:_:)AudioHardwareServiceSetPropertyData(_:_:_:_:_:_:)AudioOutputUnitGetHostIcon(_:_:)AudioOutputUnitPublish(_:_:_:_:)AudioSessionAddPropertyListener(_:_:_:)AudioSessionGetProperty(_:_:_:)AudioSessionGetPropertySize(_:_:)AudioSessionInitialize(_:_:_:_:)