int sm_record_file_complete(SM_FILE_RECORD_PARMS *file_parms)
Transfers all remaining data from speech processing module to file for previously initiated record. This call may block during execution while it waits for buffered data to become available on the speech processing module.
Note that this function assigns an event to the channel and removes it again when the replay finishes. If the channel previously had an event assigned, that assignment may have been lost (this depends on the operating system as events work differently on different operating systems).
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody high level FILE play/record API.