Developer

API Reference

IObserver_GetLMCacheSpeed()

Brew Release
Brew MP 1.0.2
Description
This function retrieves the speed of the specified cached linear movement determined by the observer.
Parameters
  • pif
    []:
    [in] Pointer to the IObserver interface object.
  • nIdx
    []:
    [in] Index of the linear movement, starting from the last as 0th index.
  • pnSpeed
    []:
    [out] The speed of the linear movement in pixel/sec.
Interface
Prototype
   int IObserver_GetLMCacheSpeed(IObserver *pif, int nIdx, int *pnSpeed);
Return
   AEE_SUCCESS - If the speed was retrieved.
   AEE_EFAILED - If the speed was not retrieved.
Side Effect
None
Comment
In case the movement is not linear or the time for the linear movement is zero, the function returns AEE_EFAILED.
  • Follow