Request an audio buffer.
#include "asr/asra.h"
int asra_acquire_buffer(asr_audio_info_t *info, int wait)
The structure to store the audio sample.
An optional flag to indicate whether the module should wait for a successful audio sample.
The asra_acquire_buffer() function requests a buffer.
0 Capturing has finished. The buffer is available.
>0 Capturing is ongoing.
<0 An error ocurred.