FreeCalypso > hg > vband-misc
view amrdiff/readone-common.c @ 12:db5772dac3c3
ringing: generate WAV decodings of FR&EFR ringing signals
for playback testing and subjective quality evaluation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 07 Apr 2024 19:28:20 +0000 |
parents | 75ba83624a29 |
children |
line wrap: on
line source
/* * The function in this module is common between readone-amr and readone-efr. */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <strings.h> emit_frame244(bits) uint8_t *bits; { unsigned n; for (n = 0; n < 244; n++) { printf("%u,", bits[n]); if (n % 40 == 39 || n == 243) putchar('\n'); } }