LVCA_GetCallerAudio

Use to retrieve the callers last utterance.

LVCA_API BOOL WINAPI LVCA_GetCallerAudio(HANDLE hCA, LPVOID Audio, LONG * Size);

Return Value:

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

Supported on Events:

CAMSG_REC_BEFORE_CONFIRM

Params:

hCA (IN) The handle given by the event callback.

Audio (OUT) Pointer to buffer to receive the last utterance of the caller

Size (IN) Size of the memory buffer allocated to the Audio parameter.

Notes:

The audio will be in raw format: 8bit 8000hz u-law.


Complete Help Topic List | Speech Platform Product Information