# HG changeset patch # User Mychaela Falconia # Date 1715674697 0 # Node ID e38e8d0fba70e9a8e9afb99692778f7a6961e78b # Parent ab7c80f6f02da5c7c625c2ee33ff727c63750913 ae-dec-dhf: complete generation diff -r ab7c80f6f02d -r e38e8d0fba70 .hgignore --- a/.hgignore Tue May 14 08:13:01 2024 +0000 +++ b/.hgignore Tue May 14 08:18:17 2024 +0000 @@ -5,6 +5,8 @@ \.inc$ \.gsm$ \.gsmx$ +\.robe$ +\.[au]l$ ^ae-dec-dhf/gen-test-frames$ diff -r ab7c80f6f02d -r e38e8d0fba70 Makefile --- a/Makefile Tue May 14 08:13:01 2024 +0000 +++ b/Makefile Tue May 14 08:18:17 2024 +0000 @@ -1,7 +1,8 @@ -SUBDIR= amrdiff dhf dmw pcma2efr pcmu2efr ringing ul-test utils +SUBDIR= ae-dec-dhf amrdiff dhf dmw pcma2efr pcmu2efr ringing ul-test utils all: ${SUBDIR} +ae-dec-dhf: ul-test pcma2efr: utils pcmu2efr: utils ringing: utils diff -r ab7c80f6f02d -r e38e8d0fba70 ae-dec-dhf/Makefile --- a/ae-dec-dhf/Makefile Tue May 14 08:13:01 2024 +0000 +++ b/ae-dec-dhf/Makefile Tue May 14 08:18:17 2024 +0000 @@ -1,7 +1,8 @@ CC= gcc CFLAGS= -O2 PROG= gen-test-frames -FILES= test-frames.gsmx +FILES= test-frames.gsmx testseq.gsmx decode.robe decode.ul +PREAMBLE=../ul-test/efr-uplink.gsmx all: ${PROG} ${FILES} @@ -11,5 +12,14 @@ test-frames.gsmx: ${PROG} ./${PROG} $@ +testseq.gsmx: ${PREAMBLE} test-frames.gsmx + cat ${PREAMBLE} test-frames.gsmx > $@ + +decode.robe: testseq.gsmx + amrefr-decode-r $< $@ + +decode.ul: decode.robe + pcm16-to-ulaw $< $@ + clean: rm -f *.o ${PROG} *.robe *.ul *.gsmx