mw::mo::helper::Player::ResumePlayback Function

Syntax


bool ResumePlayback (void);

Arguments

None.

Returns

true if success.
false in case of failure.

Description

Resumes playback, can internally call Yield method to give CPU time to the Player Run thread.
The Player goes into PLAYER_PREDECODING internal state to enqueue audio and video frames, then go into PLAYER_PLAYING state if no error happened during the process.
The call fails if the Player class is not in PLAYER_PAUSED state.
It can also fail if the end of the Moflex content is reached before entering into PLAYER_PLAYING state, in this case the Player goes into PLAYER_STOPPED state.

Revision History

2012/01/10
Added description on PLAYER_PREDECODING internal state.
2011/10/03
Initial version.