summaryrefslogtreecommitdiff
path: root/tests/fate/voice.mak
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fate/voice.mak')
-rw-r--r--tests/fate/voice.mak35
1 files changed, 31 insertions, 4 deletions
diff --git a/tests/fate/voice.mak b/tests/fate/voice.mak
index b9bf8e1e51..f8fa24b7b6 100644
--- a/tests/fate/voice.mak
+++ b/tests/fate/voice.mak
@@ -1,9 +1,36 @@
-FATE_VOICE += fate-g722dec-1
+FATE_G722 += fate-g722dec-1
fate-g722dec-1: CMD = framecrc -i $(SAMPLES)/g722/conf-adminmenu-162.g722
-FATE_VOICE += fate-g722enc
-fate-g722enc: tests/data/asynth-16000-1.sw
-fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722
+FATE_G722 += fate-g722-encode
+fate-g722-encode: tests/data/asynth-16000-1.wav
+fate-g722-encode: SRC = tests/data/asynth-16000-1.wav
+fate-g722-encode: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g722
+
+FATE_VOICE += $(FATE_G722)
+fate-g722: $(FATE_G722)
+
+FATE_G726 += fate-g726-encode-2bit
+fate-g726-encode-2bit: tests/data/asynth-8000-1.wav
+fate-g726-encode-2bit: SRC = tests/data/asynth-8000-1.wav
+fate-g726-encode-2bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 16k
+
+FATE_G726 += fate-g726-encode-3bit
+fate-g726-encode-3bit: tests/data/asynth-8000-1.wav
+fate-g726-encode-3bit: SRC = tests/data/asynth-8000-1.wav
+fate-g726-encode-3bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 24k
+
+FATE_G726 += fate-g726-encode-4bit
+fate-g726-encode-4bit: tests/data/asynth-8000-1.wav
+fate-g726-encode-4bit: SRC = tests/data/asynth-8000-1.wav
+fate-g726-encode-4bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 32k
+
+FATE_G726 += fate-g726-encode-5bit
+fate-g726-encode-5bit: tests/data/asynth-8000-1.wav
+fate-g726-encode-5bit: SRC = tests/data/asynth-8000-1.wav
+fate-g726-encode-5bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 40k
+
+FATE_VOICE += $(FATE_G726)
+fate-g726: $(FATE_G726)
FATE_GSM += fate-gsm-ms
fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav