~ubuntu-branches/debian/stretch/sflphone/stretch

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject/tests/pjsua/scripts-pesq/200_codec_l16_16000.py

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-05-25 10:49:37 UTC
  • mfrom: (19.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130525104937-augp8j3sgzsjcit7
Tags: 1.2.0-3
Upload to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: 200_codec_l16_16000.py 2075 2008-06-27 16:18:13Z nanang $
 
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 L16/16000/1 codec
 
11
test_param = TestParam(
 
12
                "PESQ codec L16/16000/1",
 
13
                [
 
14
                        InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --play-file wavs/input.16.wav"),
 
15
                        InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec L16/16000/1 --clock-rate 16000 --rec-file  wavs/tmp.16.wav --auto-answer 200")
 
16
                ]
 
17
                )
 
18
 
 
19
pesq_threshold = 3.5