LVCA_AddOneTimeAudioFromVAPA/LVCA_AddOneTimeAudioFromVAPW

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);

Defined as:

LVCA_AddOneTimeAudioFromVAP

Return Value:

If successful,LVCA_AddOneTimeAudioFromVAPA/LVCA_AddOneTimeAudioFromVAPW returns true.  If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.

Supported on Events:

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

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

Notes:

currently only VOX format: 8bit 8000hz u-law is supported


Complete Help Topic List | Speech Platform Product Information