# HG changeset patch # User Mychaela Falconia # Date 1715640561 0 # Node ID c1aa6a4160f6a9b7d0daa5388d71b43344f0bb84 # Parent baf74dff53685f43048e6e73db5766609f187ea5 ul-test: initial generation diff -r baf74dff5368 -r c1aa6a4160f6 .hgignore --- a/.hgignore Mon May 13 06:26:22 2024 +0000 +++ b/.hgignore Mon May 13 22:49:21 2024 +0000 @@ -34,4 +34,10 @@ ^ringing/ringing-efr\. ^ringing/ringing-fr\. +^ul-test/efr-dec-amrefr\. +^ul-test/efr-dec-classic\. +^ul-test/efr-enc\. +^ul-test/fr-decode\. +^ul-test/fr-enc\. + ^utils/gen-hex-c$ diff -r baf74dff5368 -r c1aa6a4160f6 Makefile --- a/Makefile Mon May 13 06:26:22 2024 +0000 +++ b/Makefile Mon May 13 22:49:21 2024 +0000 @@ -1,10 +1,11 @@ -SUBDIR= amrdiff dhf dmw pcma2efr pcmu2efr ringing utils +SUBDIR= amrdiff dhf dmw pcma2efr pcmu2efr ringing ul-test utils all: ${SUBDIR} pcma2efr: utils pcmu2efr: utils ringing: utils +ul-test: dmw ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} diff -r baf74dff5368 -r c1aa6a4160f6 ul-test/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ul-test/Makefile Mon May 13 22:49:21 2024 +0000 @@ -0,0 +1,43 @@ +DMW_SRC=../dmw/dmw-alaw.robe +FR_OUT= fr-enc.gsm fr-decode.al fr-decode.ul +EFR_OUT=efr-enc.gsmx efr-dec-classic.al efr-dec-classic.ul efr-dec-amrefr.al \ + efr-dec-amrefr.ul +ALL_OUT=${FR_OUT} ${EFR_OUT} + +all: ${ALL_OUT} + +fr-enc.gsm: ${DMW_SRC} + gsmfr-encode-r $< $@ + +fr-decode.robe: fr-enc.gsm + gsmfr-decode-r $< $@ + +fr-decode.al: fr-decode.robe + pcm16-to-alaw $< $@ + +fr-decode.ul: fr-decode.robe + pcm16-to-ulaw $< $@ + +efr-enc.gsmx: ${DMW_SRC} + gsmefr-encode-r $< $@ + +efr-dec-classic.robe: efr-enc.gsmx + gsmefr-decode-r $< $@ + +efr-dec-classic.al: efr-dec-classic.robe + pcm16-to-alaw $< $@ + +efr-dec-classic.ul: efr-dec-classic.robe + pcm16-to-ulaw $< $@ + +efr-dec-amrefr.robe: efr-enc.gsmx + amrefr-decode-r $< $@ + +efr-dec-amrefr.al: efr-dec-amrefr.robe + pcm16-to-alaw $< $@ + +efr-dec-amrefr.ul: efr-dec-amrefr.robe + pcm16-to-ulaw $< $@ + +clean: + rm -f *.gsm *.gsmx *.robe *.al *.ul