~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

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