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

« back to all changes in this revision

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