LVCA_API BOOL WINAPI LVCA_AddOneTimeAudioFromVAPA(HANDLE hCA, LPCSTR VapFileName, LONG Position, LONG Type = VOX_ULAW);
LVCA_API BOOL WINAPI LVCA_AddOneTimeAudioFromVAPW(HANDLE hCA, LPCWSTR VapFileName, LONG Position, LONG Type = VOX_ULAW);
LVCA_AddOneTimeAudioFromVAP
If successful,LVCA_AddOneTimeAudioFromVAPA/LVCA_AddOneTimeAudioFromVAPW returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
CAMSG_ENTERMODULE
CAMSG_REC_BEFORE_CONFIRM
CAMSG_REC_AFTER_CONFIRM
CAMSG_TIMEOUT
CAMSG_ERROR
hCA (IN) Call handle passed into function
FileName (IN) buffer containing the full audio vap file path
Position (IN) Index of audio in VAP
Type (IN) format of the audio
currently only VOX format: 8bit 8000hz u-law is supported
Complete Help Topic List | Speech Platform Product Information