asrv_audio_relinquish_buffer()

Relinquish an audio buffer.

Synopsis:

#include "asr/asrv.h"
 
int asrv_audio_relinquish_buffer(char *buffer)

Arguments:

buffer

The structure that contains the buffer.

Library:

libasr

Description:

The asrv_audio_relinquish_buffer() function resets the buffer in the buffer structure so that it can be used again.

Returns:

0 Success.

-1 An error occurred.