LVCA_AddOneTimeAudioFileA/LVCA_AddOneTimeAudioFileW

LVCA_API BOOL WINAPI LVCA_AddOneTimeAudioFileA(HANDLE hCA, LPCSTR FileName, LONG Type = VOX_ULAW );

LVCA_API BOOL WINAPI LVCA_AddOneTimeAudioFileW(HANDLE hCA, LPCWSTR FileName, LONG Type = VOX_ULAW );

Defined as:

LVCA_AddOneTimeAudioFile

Return Value:

If successful,LVCA_AddOneTimeAudioFileA/LVCA_AddOneTimeAudioFileW 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 file Path

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