THPPlayerOpen

Syntax

#include "THPPlayer.h"

BOOL THPPlayerOpen(char *fileName, BOOL onMemory);

Arguments

fileName Name of the THP movie data file.
onMemory Flag that specifies streaming playback or memory-based playback.

Return Values

Returns TRUE if successful, FALSE otherwise.

Description

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.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL