mw::mo::helper::Player::PausePlayback Function

Syntax


bool PausePlayback (void);

Arguments

None.

Returns

true if success.
false in case of failure.

Description

Pauses playback, can internally call Yield method to give CPU time to the Player Run thread.
If the call succeeds the Player goes into PLAYER_PAUSED state.
The call fails if the Player class is not in PLAYER_PLAYING state.
On the contrary of StopPlayback method no enqueued decoded audio and video frames are flushed in the process.

Revision History

2011/10/03
Initial version.