Prosody WAV BFILE: API: sm_replay_wav_bf_close

Prototype Definition

int sm_replay_wav_bf_close(SM_BFILE_REPLAY_PARMS *file_parms)

Parameters

file_parms
A pointer to a structure passed into sm_replay_wav_bf_start() to start a replay which 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 BFILE API.