Name
GetFrameDelay -- get frame presentation time stamp (V5.0)
Synopsis
int delay = GetFrameDelay(APTR handle, int frame);
Function
This function must return the presentation time stamp of the specified frame. Frame indices are counted from 0 to number of frames minus 1. Presentation time stamp means the duration that this frame should be shown before skipping to the next frame. This value has to be specified in milliseconds. If the animation format doesn't support frame-based time stamps you can also return a global frame delay value here or even 0. Returning 0 for every frame will display the animation as fast as possible.

Inputs
handle
handle returned by OpenAnim()
frame
index of frame to query (starts from 0)
Results
delay
delay in milliseconds for the specified frame

Show TOC