This function adds raw audio to the main chain of the current module.
LVCA_API BOOL WINAPI LVCA_AddMainAudio(HANDLE hCA, LPVOID Data, LONG Size);
If successful,LVCA_AddMainAudio returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
CAMSG_ENTERMODULE
hCA (IN) Call handle passed into function
Data (IN) The pointer to the buffer containing the audio to add to the front of the predefine main audio.
Size (IN) The size of audio buffer.
The Audio data need to be in the following format mu-law 8bit 8000hz. No header information should be included.
CAPI Only mode: Not Applicable. Add audio should be added by the "OneTime" add audio functions.
Complete Help Topic List | Speech Platform Product Information