THPUtyChangeAudioTrack

C Specification

#include <win32/thputilities.h>
s32 THPUtyChangeAudioTrack(FILE*            iop,
THPFileHeader*   fileHeader,
THPAudioHandle** audioHandleList);

Arguments

iop File pointer for the THP movie data for which the audio data is to be replaced.
fileHeader Pointer to the THPFileHeader structure that stores THP header information.
audioHandleList Pointer list for the THPAudioHandle structure associated with the audio data to replace.

Return Values

Returns one of the following codes:

code value description
THP_ERROR_NOERROR 0 The function ended normally.
THP_ERROR_FILEIO 1 Failed to read or write from file.
THP_ERROR_THPFILE 2 The THP movie data is invalid.

Description

This function replaces the audio track in the THP movie data specified by iop with the audio data specified by audioHandleList.

See Also

THPAudioHandle

Revision History

03/01/2006 Initial version.