Save the captured audio sample as a WAV file.
#include "asr/asra.h"
int asra_save_wavefile(const char *fname)
The name to use for the WAV file.
The asra_save_wavefile() copies the captured audio sample as a WAV file with the specified filename.
0 Success.
-1 The file couldn't be opened for writing.