view libtest/wavrdhelp.h @ 512:4f0ab833bec0

libgsmhr1: add parameter validation function
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Aug 2024 18:42:27 +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);