changeset 48:3d8cb2631812

trau-parse: show more info from AMR No_Speech frames
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 24 Sep 2024 19:40:47 +0000
parents 7119884f6afe
children e579784e5578
files trau-decode/parse-main.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/trau-decode/parse-main.c	Tue Sep 24 18:57:56 2024 +0000
+++ b/trau-decode/parse-main.c	Tue Sep 24 19:40:47 2024 +0000
@@ -249,6 +249,11 @@
 			frame_bits[36], frame_bits[37], frame_bits[38],
 			frame_bits[39], frame_bits[40], frame_bits[41],
 			frame_bits[42]);
+		if (!frame_bits[38] && !frame_bits[39])
+			printf("  No_Spch_Class=%u%u%u CMI=%u%u%u CMR=%u%u%u\n",
+				frame_bits[76], frame_bits[77], frame_bits[78],
+				frame_bits[79], frame_bits[81], frame_bits[82],
+				frame_bits[83], frame_bits[84], frame_bits[85]);
 		printf("  T1=%u T2=%u T3=%u T4=%u\n", frame_bits[316],
 			frame_bits[317], frame_bits[318], frame_bits[319]);
 		break;