changeset 3:64b15810dc4c

trau-parse: FR decoding works
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 May 2024 08:31:52 +0000
parents b2ef2c80fef1
children d9c095357c32
files trau-decode/parse-fr.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/trau-decode/parse-fr.c	Fri May 24 08:11:25 2024 +0000
+++ b/trau-decode/parse-fr.c	Fri May 24 08:31:52 2024 +0000
@@ -63,20 +63,20 @@
 
 void
 print_fr_frame(d_bits)
-	uint8_t d_bits;
+	uint8_t *d_bits;
 {
 	int16_t params[GSMFR_NUM_PARAMS];
 	uint8_t rtp_pack[GSMFR_RTP_FRAME_LEN];
 	int i, j, n, sid;
 
 	dbits_to_params(d_bits, params);
-	fputs("  FR frame:\n    ", stdout);
+	fputs("  FR frame:\n    LARc", stdout);
 	n = 0;
 	for (i = 0; i < 8; i++)
 		printf(" %d", params[n++]);
 	putchar('\n');
 	for (i = 0; i < 4; i++) {
-		fputs("     ", stdout);
+		fputs("   ", stdout);
 		for (j = 0; j < 17; j++)
 			printf(" %d", params[n++]);
 		putchar('\n');