#include "THPPlayer.h" BOOL THPPlayerOpen(char *fileName, BOOL onMemory);
| fileName | Name of the THP movie data file. |
|---|---|
| onMemory | Flag that specifies streaming playback or memory-based playback. |
Returns TRUE if successful, FALSE otherwise.
The THPPlayerOpen function uses the DVDOpen function to open the THP movie data specified with the first argument, and reads its header using the DVDRead function. Next, it gets the required information from the header just read and checks to see if the specified data is extractable THP movie data.
Set the second argument to FALSE if you want to play the THP movie data from the disk using streaming playback; set it to TRUE if you want to use memory-based playback.
The THPPlayerOpen function initializes the THP audio data's playback volume to 127.
None.
2006/03/01 Initial version.
CONFIDENTIAL