AudioQueueSetProperty

Function AudioQueueSetProperty 

Source
pub unsafe extern "C-unwind" fn AudioQueueSetProperty(
    in_aq: AudioQueueRef,
    in_id: AudioQueuePropertyID,
    in_data: NonNull<c_void>,
    in_data_size: u32,
) -> i32
Available on crate feature AudioQueue only.
Expand description

Sets an audio queue property value.

Parameter inAQ: The audio queue whose property value you want to set.

Parameter inID: The ID of the property you want to set. See “Audio Queue Property IDs” for the various audio queue properties.

Parameter inData: A pointer to the property value to set.

Parameter inDataSize: The size of the property data.

Returns: An OSStatus result code.

§Safety

  • in_aq must be a valid pointer.
  • in_data must be a valid pointer.