LVCA_AddMainAudio

This function adds raw audio to the main A list of Actions that determine what will happen once the caller enters a Module. Each Module has its own unique Main. The Main is marked with an orange arrow. chain of the current module Modules are the individual elements you use to create your Information System An Information System is a general term used to describe the product you are designing with this software. This could be any type of system in which you can give information to your callers, such as a Virtual Customer Service Center, a Virtual Technical Support Center, or a Virtual Help Desk.. When you create an Information System, you are crafting a conversation between a computer and a live person. Each Module represents a single, distinct portion of that conversation. The different types of Modules are: Start, List, Multilevel, Overview, Yes/No, Goto A Goto is an Action that sends callers to another Module. A Goto is a Terminal Action. This means it will be the last Action in an Actions List., Hangup A Hangup is an Action that will hang up on callers. A Hangup is a Terminal Action. This means it will be the last Action in an Actions List., Transfer A Transfer is an Action that will hang up on callers. A Transfer is a Terminal Action. This means it will be the last Action in an Actions List., Global, Global Yes/No and Goto Project Each Project you create represents a single Speech Driven Information System. So, if you want to create three separate Information Systems, you will need to create three different Projects.. Each Module has its own unique function and symbol..

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

Return Value:

This function return true if successful, otherwise false will be returned.  Call LVCA_GetLastCallError to retrieve the error An Error is anything within the system itself that creates a glitch in the Speech Driven Information System, such as a missing Vox A Vox is an Action that plays a sound file. You can record a Vox in your own voice directly from the Speech Driven Information System. You can also use the Audio Manager to import recordings or sound effects that you have obtained from other sources. or a Goto that doesn't go anywhere. code and message.

Supported on Events:

CAMSG_ENTERMODULE

Params:

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.

Notes:

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