AudioHardwareServiceSetPropertyData

Function AudioHardwareServiceSetPropertyData 

Source
pub unsafe extern "C-unwind" fn AudioHardwareServiceSetPropertyData(
    in_object_id: AudioObjectID,
    in_address: *const AudioObjectPropertyAddress,
    in_qualifier_data_size: u32,
    in_qualifier_data: *const c_void,
    in_data_size: u32,
    in_data: *const c_void,
) -> i32
👎Deprecated: no longer supported
Available on crate feature objc2-core-audio only.
Expand description

Tells an AudioObject 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.

Parameter inObjectID: The AudioObject to change.

Parameter inAddress: An AudioObjectPropertyAddress indicating which property is being changed.

Parameter inQualifierDataSize: A UInt32 indicating the size of the buffer pointed to by inQualifierData. Note that not all properties require qualification, in which case this value will be 0.

Parameter inQualifierData: A buffer of data to be used in determining the data of the property being queried. Note that not all properties require qualification, in which case this value will be NULL.

Parameter inDataSize: A UInt32 indicating the size of the buffer pointed to by inData.

Parameter inData: The buffer containing the data to be used to change the property’s value.

Returns: An OSStatus indicating success or failure.