THPSimplePreLoad

Syntax

#include "THPSimple.h"

BOOL THPSimplePreLoad(s32 loop);

Arguments

loop THP movie data playback method.

Return Values

Returns TRUE if successful, FALSE otherwise.

Description

The THPSimplePreLoad function loads READ_BUFFER_NUM frames of THP movie data by calling the DVDRead function as preparation for playing the THP movie data.

The THP movie data playback method is set as an argument of the THPSimplePreLoad function. The values that the argument takes are THP_PLAY_LOOP or THP_PLAY_ONESHOT. If the argument is THP_PLAY_LOOP, the THP movie data will be played as a loop. If the argument is THP_PLAY_ONESHOT, the THP movie data will be played once.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL