pub unsafe extern "C-unwind" fn AudioHardwareSetProperty(
in_property_id: AudioHardwarePropertyID,
in_property_data_size: u32,
in_property_data: NonNull<c_void>,
) -> i32👎Deprecated
Available on crate features
AudioHardware and AudioHardwareDeprecated only.Expand description
Tells the AudioSystemObject to change the value of the given property using the provided data.
Note that the value of the property should not be considered changed until the HAL has called the listeners as many properties values are changed asynchronously. Also note that the same functionality is provided by the function AudioObjectGetPropertyData().
Parameter inPropertyID: The AudioHardwarePropertyID of the property to change.
Parameter inPropertyDataSize: A UInt32 indicating the size of the buffer pointed to by inData.
Parameter inPropertyData: The buffer containing the data to be used to change the property’s value.
Returns: An OSStatus indicating success or failure.
§Safety
in_property_data must be a valid pointer.