Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 1 | # $Id$ |
| 2 | # |
| 3 | from inc_cfg import * |
| 4 | |
| 5 | ADD_PARAM = "" |
| 6 | |
| 7 | if (HAS_SND_DEV == 0): |
| 8 | ADD_PARAM += "--null-audio" |
| 9 | |
| 10 | # Call with default pjsua settings |
| 11 | test_param = TestParam( |
| 12 | "PESQ defaults pjsua settings", |
| 13 | [ |
| 14 | InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --play-file wavs/input.16.wav --no-vad"), |
| 15 | InstanceParam("UA2", "--null-audio --max-calls=1 --rec-file wavs/tmp.16.wav --clock-rate 16000 --auto-answer 200") |
| 16 | ] |
| 17 | ) |
| 18 | |
| 19 | pesq_threshold = 3.8 |