~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/201_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: 201_codec_g711u.py 2063 2008-06-26 18:52:16Z nanang $
2
 
#
3
 
from inc_cfg import *
4
 
 
5
 
# Call with PCMU codec
6
 
test_param = TestParam(
7
 
                "PESQ codec PCMU (RX side uses snd dev)",
8
 
                [
9
 
                        InstanceParam("UA1", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --play-file wavs/input.8.wav --null-audio"),
10
 
                        InstanceParam("UA2", "--max-calls=1 --add-codec pcmu --clock-rate 8000 --rec-file  wavs/tmp.8.wav   --auto-answer 200")
11
 
                ]
12
 
                )
13
 
 
14
 
if (HAS_SND_DEV == 0):
15
 
        test_param.skip = True
16
 
 
17
 
pesq_threshold = 3.5