pub unsafe extern "C-unwind" fn AudioHardwareGetProperty(
in_property_id: AudioHardwarePropertyID,
io_property_data_size: NonNull<u32>,
out_property_data: NonNull<c_void>,
) -> i32๐Deprecated
Available on crate features
AudioHardware and AudioHardwareDeprecated only.Expand description
Queries an the AudioSystemObject to get the data of the given property and places it in the provided buffer.
Note that the same functionality is provided by the function AudioObjectGetPropertyData().
Parameter inPropertyID: The AudioHardwarePropertyID of the property to query.
Parameter ioPropertyDataSize: A UInt32 which on entry indicates the size of the buffer pointed to by
outData and on exit indicates how much of the buffer was used.
Parameter outPropertyData: The buffer into which the AudioSystemObject will put the data for the given
property.
Returns: An OSStatus indicating success or failure.
ยงSafety
io_property_data_sizemust be a valid pointer.out_property_datamust be a valid pointer.