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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/tests/pjsua/scripts-pesq/200_codec_l16_8000.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_l16_8000.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/8000/1 codec
11
 
test_param = TestParam(
12
 
                "PESQ codec L16/8000/1",
13
 
                [
14
 
                        InstanceParam("UA1", ADD_PARAM + " --max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --play-file wavs/input.8.wav"),
15
 
                        InstanceParam("UA2", "--null-audio --max-calls=1 --add-codec L16/8000/1 --clock-rate 8000 --rec-file  wavs/tmp.8.wav --auto-answer 200")
16
 
                ]
17
 
                )
18
 
 
19
 
pesq_threshold = 3.5