FreeCalypso > hg > vband-misc
comparison amrdiff/readone-common.c @ 2:75ba83624a29
readone-amr program written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 03 Apr 2024 19:41:45 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:33eeeff6ae88 | 2:75ba83624a29 |
---|---|
1 /* | |
2 * The function in this module is common between readone-amr and readone-efr. | |
3 */ | |
4 | |
5 #include <stdio.h> | |
6 #include <stdint.h> | |
7 #include <stdlib.h> | |
8 #include <string.h> | |
9 #include <strings.h> | |
10 | |
11 emit_frame244(bits) | |
12 uint8_t *bits; | |
13 { | |
14 unsigned n; | |
15 | |
16 for (n = 0; n < 244; n++) { | |
17 printf("%u,", bits[n]); | |
18 if (n % 40 == 39 || n == 243) | |
19 putchar('\n'); | |
20 } | |
21 } |