view libtest/wavrdhelp.h @ 423:cf90077b753c

twamr-tseq-enc: treat dribble input as non-fatal 3GPP VAD2 test sequences dt22.inp and dt23.inp have incomplete frames at the end, hence we need to ignore that dribble in a non-fatal manner in order to pass all tests.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 07 May 2024 07:20:29 +0000
parents 30d1d0a705c0
children
line wrap: on
line source

/*
 * We implement a couple of helper functions on top of the WAV reader
 * which we've lifted out of opencore-amrnb test code; this header file
 * provides prototype declarations for these functions.
 */

extern int wavrd_check_header(void *wav, const char *filename);
extern int wavrd_get_pcm_block(void *wav, int16_t *pcmbuf);