201_codec_l16_16000.py 472 B

12345678910111213141516
  1. #
  2. from inc_cfg import *
  3. # Call with L16/16000/1 codec
  4. test_param = TestParam(
  5. "PESQ codec L16/16000/1 (RX side uses snd dev)",
  6. [
  7. InstanceParam("UA1", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav --null-audio"),
  8. InstanceParam("UA2", "--max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --rec-file wavs/tmp.16.wav --auto-answer 200")
  9. ]
  10. )
  11. if (HAS_SND_DEV == 0):
  12. test_param.skip = True
  13. pesq_threshold = 3.5