Package: gdk

Function gdk:frame-timings-predicted-presentation-time

Lambda List

gdk:frame-timings-predicted-presentation-time (timings)

Arguments

timings -- a gdk:frame-timings instance

Return Value

The integer with the predicted time at which the frame will be presented, or 0 if no predicted presentation time is available.

Details

Gets the predicted time at which this frame will be displayed. Although no predicted time may be available, if one is available, it will be available while the frame is being generated, in contrast to the gdk:frame-timings-presentation-time function, which is only available after the frame has been presented. In general, if you are simply animating, you should use the gdk:frame-clock-frame-time function rather than this function, but this function is useful for applications that want exact control over latency. For example, a movie player may want this information for Audio/Video synchronization.
 

See also

#2024-7-12