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

Developer

API Reference

IMEDIA_REWIND()

Brew Release
Brew MP 1.0.2
See Also
AEEMediaCmdNotify Error Codes IMedia_FastForward IMedia_Seek IMedia_Play
Description
This function rewinds lTimeMS milliseconds from the current position. The media is left in the current state.
Params
pIMedia
[]:
Pointer to the IMedia Interface object.
lTimeMS
[]:
Time in milliseconds.
Interface
Prototype
  •     int IMedia_Rewind(IMedia * pIMedia, int32 lTimeMS);
    
Return
  • AEE_SUCCESS: if successful. Another error code, if otherwise:
    AEE_EBADPARM: Bad parm in stream. AEE_EBADSTATE: Cannot rewind in the current state. AEE_EITEMBUSY: IMedia Interface is currently busy. Try after some time. AEE_EUNSUPPORTED: API not supported by the class.
Side Effect
  • None
Comments
The events are returned in the registered callback. See the AEEMediaCmdNotify documentation. This function results in MM_STATUS_SEEK or MM_SEEK_FAIL status. If media playback continues after seek, MM_STATUS_RESUME is returned.