API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IMEDIASVG_SETFRAMEDELAY()

Brew Release
Brew MP 1.0.2
See Also
IMedia_SetMediaParm()
Description
This function sets the frame delay for autmatic rendering mode.
Params
pIMedia
[in]:
Pointer to IMedia Interface.
nFrameDelay
[in]:
Frame delay in ms.
Interface
Prototype
  •     int IMediaSVG_SetFrameDelay
        (
        IMedia * pIMedia, 
        uint32 nFrameDelay 
        )
    
Return
  • SUCCESS: Successful. Operation completed. EBADPARM: Bad parm ENOMEMORY: Not enough memory EBADSTATE: Cannot set parm in the current state EUNSUPPORTED: Parm not supported by the class EFAILED: General failure
Side Effect
  • None
Comments
By default frames are generated as often as possible (with a delay of 0). Increasing the delay between frames will cause fewer frames to be generated over the time of the SVG playback, creating choppier animation.