asra_relinquish_buffer()

Relinquish an audio buffer.

Synopsis:

#include "asr/asra.h"
 
int asra_relinquish_buffer(asr_audio_info_t *info)

Arguments:

info

The structure that contains the buffer.

Library:

libasr

Description:

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

Returns:

0 Success.

-1 An error occurred.