LVCA_RecordAudioToFileA/LVCA_RecordAudioToFileW

LVCA_API BOOL WINAPI LVCA_RecordAudioToFileA(HANDLE hCA, LPCSTR FileName, LONG MaxLength_Seconds, LONG SilenceTimeOut_Seconds);

LVCA_API BOOL WINAPI LVCA_RecordAudioToFileW(HANDLE hCA, LPCWSTR FileName, LONG MaxLength_Seconds, LONG SilenceTimeOut_Seconds);

Defined as:

LVCA_RecordAudioToFile

Return Value:

If successful,LVCA_RecordAudioToFileA/LVCA_RecordAudioToFileW 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

FileName (IN) A Valid file path to save audio .

MaxLength_Seconds (IN) Maximum duration of recording.

SilenceTimeOut_Seconds (IN) The silence time value

Notes:

All currently queued audio will be played before recording starts.


Complete Help Topic List | Speech Platform Product Information