AudioQueue.GetCurrentTime(AudioQueueTimeline, AudioTimeStamp, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.