Prosody WAV FILE: API: sm_replay_wav_close

Prototype Definition

int sm_replay_wav_close(SM_FILE_REPLAY_PARMS *file_parms)

Parameters

file_parms
A pointer to a structure passed into sm_replay_wav_start() to start a replay that has not yet been closed.

Description

Following completion of WAV file replay this function may be called to close the replay file and release the associated file descriptor.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody WAV FILE API.