THPPlayerGetState

C Specification

#include "THPPlayer.h"
s32 THPPlayerGetState(void);

Arguments

None.

Return Values

Returns the current player status.

Status Value Description
THP_PLAYER_STOP 0 The player is stopped.
THP_PLAYER_PREPARE 1 Completed movie playback preparation.
THP_PLAYER_PLAY 2 The movie is playing.
THP_PLAYER_PLAYED 3 Played movie to the end.
(Indicates that playback reached the end using one shot playback. )
THP_PLAYER_PAUSE 4 The movie is paused.
THP_PLAYER_ERROR 5 An error occurred.

Description

This function gets the current player status.

If the ERROR status is received, please call the THPPlayerStop and THPPlayerClose functions to end playback of the THP movie data.

See Also

THPPlayerStop, THPPlayerClose

Revision History

03/01/2006 Initial version.