blob: 04e915217b9e631420918b7b4960507220e45d0e [file] [log] [blame]
Nanang Izzuddinacb3e322008-06-25 18:18:32 +00001# $Id$
2#
3from inc_cfg import *
Nanang Izzuddinacb3e322008-06-25 18:18:32 +00004
5ADD_PARAM = ""
6
7if (HAS_SND_DEV == 0):
8 ADD_PARAM += "--null-audio"
9
Nanang Izzuddin6ee166d2008-06-26 12:26:52 +000010# Call with Speex/16000 codec
Nanang Izzuddinacb3e322008-06-25 18:18:32 +000011test_param = TestParam(
12 "PESQ codec Speex WB",
13 [
14 InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --play-file wavs/input.16.wav --auto-play-hangup"),
Nanang Izzuddin6ee166d2008-06-26 12:26:52 +000015 InstanceParam("UA2", "--null-sound --max-calls=1 --clock-rate 16000 --add-codec speex/16000 --rec-file wavs/tmp.16.wav --auto-answer 200 --auto-rec")
Nanang Izzuddinacb3e322008-06-25 18:18:32 +000016 ]
17 )