#include "THPPlayer.h" s32 THPPlayerGetState(void);
None.
Returns the current player status.
| Status | Value | Description |
| THP_PLAYER_STOP | 0 | The player is paused. |
|---|---|---|
| THP_PLAYER_PREPARE | 1 | Finished movie playback preparation. |
| THP_PLAYER_PLAY | 2 | Movie is being played. |
| THP_PLAYER_PLAYED | 3 | Played movie to the end. (Indicates that playback reached the end, when using one-shot playback.) |
| THP_PLAYER_PAUSE | 4 | Movie is being paused. |
| THP_PLAYER_ERROR | 5 | An error occurred. |
The THPPlayerGetState 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.
2006/03/01 Initial version.
CONFIDENTIAL