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);
LVCA_RecordAudioToFile
If successful,LVCA_RecordAudioToFileA/LVCA_RecordAudioToFileW returns true. If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.
CAMSG_ENTERMODULE CAMSG_REC_BEFORE_CONFIRM CAMSG_REC_AFTER_CONFIRM CAMSG_TIMEOUT CAMSG_ERROR
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
All currently queued audio will be played before recording starts.
Complete Help Topic List | Speech Platform Product Information