~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

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

  • Committer: Jackson Doak
  • Date: 2013-07-10 21:04:46 UTC
  • mfrom: (20.1.3 sid)
  • Revision ID: noskcaj@ubuntu.com-20130710210446-y8f587vza807icr9
Properly merged from 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