changeset 41:4e031007e6dd

ae-dec-dhf: generate TCH UL input
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 08:26:00 +0000
parents e38e8d0fba70
children 982169986a14
files .hgignore ae-dec-dhf/Makefile
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Tue May 14 08:18:17 2024 +0000
+++ b/.hgignore	Tue May 14 08:26:00 2024 +0000
@@ -7,6 +7,7 @@
 \.gsmx$
 \.robe$
 \.[au]l$
+\.tch$
 
 ^ae-dec-dhf/gen-test-frames$
 
--- a/ae-dec-dhf/Makefile	Tue May 14 08:18:17 2024 +0000
+++ b/ae-dec-dhf/Makefile	Tue May 14 08:26:00 2024 +0000
@@ -1,7 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
 PROG=	gen-test-frames
-FILES=	test-frames.gsmx testseq.gsmx decode.robe decode.ul
+FILES=	test-frames.gsmx testseq.gsmx testseq.tch decode.robe decode.ul
 PREAMBLE=../ul-test/efr-uplink.gsmx
 
 all:	${PROG} ${FILES}
@@ -15,6 +15,9 @@
 testseq.gsmx:	${PREAMBLE} test-frames.gsmx
 	cat ${PREAMBLE} test-frames.gsmx > $@
 
+testseq.tch:	testseq.gsmx
+	fc-efr2tch $< $@
+
 decode.robe:	testseq.gsmx
 	amrefr-decode-r $< $@
 
@@ -22,4 +25,4 @@
 	pcm16-to-ulaw $< $@
 
 clean:
-	rm -f *.o ${PROG} *.robe *.ul *.gsmx
+	rm -f *.o ${PROG} *.robe *.ul *.gsmx *.tch