mw::mo::helper::Player::StopPlayback Function

Syntax


bool StopPlayback (void);

Arguments

None.

Returns

true if success.
false in case of failure.

Description

Stops playback, can internally call Yield method to give CPU time to the Player Run thread.
If the call succeeds the Player goes into PLAYER_STOPPED state, all enqueued decoded audio and video frames are flushed.
The call fails if the Player class is not in PLAYER_PLAYING or PLAYER_PAUSED state.

Revision History

2011/10/03
Initial version.