AudioQueueDeviceGetNearestStartTime

Function AudioQueueDeviceGetNearestStartTime 

Source
pub unsafe extern "C-unwind" fn AudioQueueDeviceGetNearestStartTime(
    in_aq: AudioQueueRef,
    io_requested_start_time: NonNull<AudioTimeStamp>,
    in_flags: u32,
) -> i32
Available on crate features AudioQueue and objc2-core-audio-types only.
Expand description

Obtains an audio device’s start time that is closest to a requested start time.

Parameter inAQ: The audio queue whose device’s nearest start time you want to obtain.

Parameter ioRequestedStartTime: On entry, points to the requested start time. On return, points to the actual start time.

Parameter inFlags: Reserved for future use. Pass 0.

Returns: An OSStatus result code.

§Safety

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