#include <win32/thpaudio.h>THPAudioHandle* THPAudioCreateHandle(char* fileName, f32 framerate);fileName |
File name of the conversion source WAV file. |
framerate |
Frame rate of the THP movie data. |
Returns a pointer to the THPAudioHandle structure, if successful, and NULL otherwise.
This function internally allocates a THPAudioHandle structure using the THPMalloc function. After opening the WAV file specified by fileName, the function gets the WAV file information and sets this information in the allocated THPAudioHandle structure.
Be sure to use the THPAudioFreeHandle function to release the THPAudioHandle structure allocated with this function when the conversion to THP audio data completes.
THPAudioHandle, THPMalloc, THPAudioFreeHandle
2006/03/01 Initial version.
CONFIDENTIAL