FreeCalypso > hg > gsm-codec-lib
diff libtest/wavrdhelp.h @ 13:30d1d0a705c0
libtest: add WAV reader helper functions
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 20 Nov 2022 01:34:57 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtest/wavrdhelp.h Sun Nov 20 01:34:57 2022 +0000 @@ -0,0 +1,8 @@ +/* + * 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);