#include <win32/thputilities.h>
s32 THPUtyChangeAudioTrack(FILE* iop,
THPFileHeader* fileHeader,
THPAudioHandle** audioHandleList);
| iop | File pointer to the THP movie data for which you want to change the audio data. |
|---|---|
| fileHeader | Pointer to the THPFileHeader structure that stores THP header information. |
| audioHandleList | Pointer list of THPAudioHandle structures associated with the audio data to replace. |
Returns one of the following codes.
| Code | Value | Description |
| THP_ERROR_NOERROR | 0 | The function ended normally. |
|---|---|---|
| THP_ERROR_FILEIO | 1 | Failed to read to or write from file. |
| THP_ERROR_THPFILE | 2 | The THP movie data is invalid. |
Replaces the audio track in the THP movie data specified by iop with the audio data specified by audioHandleList.
2006/03/01 Initial version.
CONFIDENTIAL