LVCA_AddOneTimeLibraryAudioA/LVCA_AddOneTimeLibraryAudioW

This function adds audio from the projects audio library to the current audio queue.

LVCA_API BOOL WINAPI LVCA_AddOneTimeLibraryAudioA(HANDLE hCA, LPCSTR Description);

LVCA_API BOOL WINAPI LVCA_AddOneTimeLibraryAudioW(HANDLE hCA, LPCWSTR Description);

Defined as:

LVCA_AddOneTimeLibraryAudio

Return Value:

If successful,LVCA_AddOneTimeLibraryAudioA/LVCA_AddOneTimeLibraryAudioW 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

Description (IN) A pointer to a string containing the library audio description as it is defined in the Platform Project Audio Library

Notes:

The added audio will only play once.  Platform does not inhibit duplicate descriptions of the audio library entries.  The function will add the first audio file matching the given description.

VOX format: 8bit 8000hz u-law

CAPI Only mode: Not Supported.   


Complete Help Topic List | Speech Platform Product Information