Bewerken

Delen via


AudioQueue.GetCurrentTime(AudioQueueTimeline, AudioTimeStamp, Boolean) Method

Definition

Returns the current time for the audio queue.

public AudioToolbox.AudioQueueStatus GetCurrentTime (AudioToolbox.AudioQueueTimeline timeline, ref AudioToolbox.AudioTimeStamp time, ref bool timelineDiscontinuty);
member this.GetCurrentTime : AudioToolbox.AudioQueueTimeline *  *  -> AudioToolbox.AudioQueueStatus

Parameters

timeline
AudioQueueTimeline

Timeline object to track discontinuities, or null if you do not need it.

time
AudioTimeStamp

The time

timelineDiscontinuty
Boolean

On return, if true, it means that there was an audio discontinuity.

Returns

AudioQueueStatus.Ok on success, otherwise the error.

Applies to