AudioHardwareGetPropertyInfo

Function AudioHardwareGetPropertyInfo 

Source
pub unsafe extern "C-unwind" fn AudioHardwareGetPropertyInfo(
    in_property_id: AudioHardwarePropertyID,
    out_size: *mut u32,
    out_writable: *mut u8,
) -> i32
๐Ÿ‘ŽDeprecated
Available on crate features AudioHardware and AudioHardwareDeprecated only.
Expand description

Retrieve information about the given property.

Note that the same functionality is provided by the functions AudioObjectHasProperty(), AudioObjectIsPropertySettable(), and AudioObjectGetPropertyDataSize().

Parameter inPropertyID: The AudioHardwarePropertyID of the property to query.

Parameter outSize: A pointer to a UInt32 that receives the size of the property data in bytes on exit. This can be NULL if the size information is not being requested.

Parameter outWritable: A pointer to a Boolean that receives indication of whether or not the given property can be set. This can be NULL if the writability is not being requested.

Returns: An OSStatus indicating success or failure.

ยงSafety

  • out_size must be a valid pointer or null.
  • out_writable must be a valid pointer or null.