LVCA_AddOneTimeAudio

This function adds raw audio to the current audio queue.

LVCA_API BOOL WINAPI LVCA_AddOneTimeAudio(HANDLE hCA, LPVOID Data, LONG Size);

Return Value:

If successful,LVCA_AddOneTimeAudio 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

Data (IN) A pointer to the buffer containing the audio to add to the front of the predefine main audio

Size (IN) The size of audio buffer

Notes:

This audio will only play once.  The Audio data need to be in the following VOX format: 8bit 8000hz u-law.

No header information should be included.


Complete Help Topic List | Speech Platform Product Information