khronosfws/openmax_al/src/mmf_adaptation/xaplayitfadaptationmmf.h
changeset 21 2ed61feeead6
parent 19 4a629bc82c5e
child 25 6f7ceef7b1d1
equal deleted inserted replaced
20:b67dd1fc57c5 21:2ed61feeead6
    27 {
    27 {
    28     "XA_PLAYSTATE_STOPPED",
    28     "XA_PLAYSTATE_STOPPED",
    29     "XA_PLAYSTATE_PAUSED",
    29     "XA_PLAYSTATE_PAUSED",
    30     "XA_PLAYSTATE_PLAYING"
    30     "XA_PLAYSTATE_PLAYING"
    31 };
    31 };
    32 #define PLAYSTATENAME(i) (const char*)((i>0&&i<4)?playstatenamesmmf[i-1]:"INVALID")
    32 #define PLAYSTATENAME(i) (const char*)((i>0&&i<4)?playstatenamemmf[i-1]:"INVALID")
    33 #endif /*_DEBUG*/
    33 #endif /*_DEBUG*/
    34 
    34 
    35 
    35 
    36 /* FUNCTIONS */
    36 /* FUNCTIONS */
    37 
    37 
    42 XAresult XAPlayItfAdaptMMF_RegisterCallback(XAAdaptationBaseCtx *bCtx, xaPlayCallback callback);
    42 XAresult XAPlayItfAdaptMMF_RegisterCallback(XAAdaptationBaseCtx *bCtx, xaPlayCallback callback);
    43 XAresult XAPlayItfAdaptMMF_SetCallbackEventsMask(XAAdaptationBaseCtx *bCtx, XAuint32 eventFlags);
    43 XAresult XAPlayItfAdaptMMF_SetCallbackEventsMask(XAAdaptationBaseCtx *bCtx, XAuint32 eventFlags);
    44 XAresult XAPlayItfAdaptMMF_SetMarkerPosition(XAAdaptationBaseCtx *bCtx, XAmillisecond mSec);
    44 XAresult XAPlayItfAdaptMMF_SetMarkerPosition(XAAdaptationBaseCtx *bCtx, XAmillisecond mSec);
    45 XAresult XAPlayItfAdaptMMF_ClearMarkerPosition(XAAdaptationBaseCtx *bCtx);
    45 XAresult XAPlayItfAdaptMMF_ClearMarkerPosition(XAAdaptationBaseCtx *bCtx);
    46 XAresult XAPlayItfAdaptMMF_SetPositionUpdatePeriod(XAAdaptationBaseCtx *bCtx, XAmillisecond mSec);
    46 XAresult XAPlayItfAdaptMMF_SetPositionUpdatePeriod(XAAdaptationBaseCtx *bCtx, XAmillisecond mSec);
    47 
    47 void XAPlayItfAdaptMMF_StateChange(XAAdaptationBaseCtx *bCtx, XAboolean playing); 
    48 #endif /* XAPLAYITFADAPTATIONMMF_H */
    48 #endif /* XAPLAYITFADAPTATIONMMF_H */