view libtest/wavrdhelp.h @ 225:ba737a0203e2

dev/a2s-regen.c: fix generation of negative outputs
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 04:36:21 +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);