AudioCodecSetProperty

Function AudioCodecSetProperty 

Source
pub unsafe extern "C-unwind" fn AudioCodecSetProperty(
    in_codec: AudioCodec,
    in_property_id: AudioCodecPropertyID,
    in_property_data_size: u32,
    in_property_data: NonNull<c_void>,
) -> i32
Available on crate features AudioCodec and AudioComponent only.
Expand description

Set the indicated property data.

Parameter inCodec: An AudioCodec instance

Parameter inPropertyID: Property ID whose value should be changed

Parameter inPropertyDataSize: Size in bytes of the property data

Parameter inPropertyData: Pointer to the property data buffer

Returns: The OSStatus value

ยงSafety

  • in_codec must be a valid pointer.
  • in_property_data must be a valid pointer.