|
Function Summary |
int |
GetStatus()
//***********************************
// GetStatus
//-----------------------------------
// Description : Get the status of the video player
//-----------------------------------
// Out
// return :
// 0 : no playback, or the playback is end
// 1 : playback of the video in progress
// 2 : an error occurs during playback of the video
//
|
bool |
Open(string FileName)
//***********************************
// Open
//-----------------------------------
// Description : Open a video file and prepare the engine to play
// the video
//-----------------------------------
// In
// Filename : the name of the video file to open
// ( without extension, and without path )
//-----------------------------------
// Out
// Return true if the file is successfully open
//-----------------------------------
|
void |
Pause()
//***********************************
// Pause
//-----------------------------------
// Description : Pause the playback of the current video
|
void |
Play()
//***********************************
// Play
//-----------------------------------
// Description : Begin to play the video
|
void |
Resume()
//***********************************
// Resume
//-----------------------------------
// Description : Resume the playback of the current video
|
void |
SetSoundTrack(int SoundTrack)
//***********************************
// SetSoundTrack
//-----------------------------------
// Description : Specifies the sound track number to play
//-----------------------------------
// In
// SoundTrack : the sound track number
//
|
void |
SetSoundVolume(int SoundVolume)
//***********************************
// SetSoundVolume
//-----------------------------------
// Description : Set the volume of the video
//-----------------------------------
// In
// SoundVolume : Specifies the new volume level from 0 (silent) to 32768
//
|
void |
Stop()
//***********************************
// Stop
//-----------------------------------
// Description : Stop to play the video, and close the video player
|