AudioConverterSetProperty

Function AudioConverterSetProperty 

Source
pub unsafe extern "C-unwind" fn AudioConverterSetProperty(
    in_audio_converter: AudioConverterRef,
    in_property_id: AudioConverterPropertyID,
    in_property_data_size: u32,
    in_property_data: NonNull<c_void>,
) -> i32
Available on crate feature AudioConverter only.
Expand description

Sets an AudioConverter property value.

Parameter inAudioConverter: The AudioConverter to modify.

Parameter inPropertyID: The property to set.

Parameter inPropertyDataSize: The size in bytes of the property value.

Parameter inPropertyData: Points to the new property value.

Returns: An OSStatus result code.

ยงSafety

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