view libtest/wavrdhelp.h @ 98:18866c0354ef

libgsmefr/dec_main.c: need to use official shl() function in order to get correct saturation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 21:31:58 +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);