From 5e60d41798670121f2a73bedb1792148ad2e76ae Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 26 Aug 2008 12:13:25 +0000 Subject: Fixed audio configuration in config_site.py not used by test scripts git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2237 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/test-pjsua/config_site.py | 2 +- pjsip-apps/src/test-pjsua/inc_cfg.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pjsip-apps/src/test-pjsua/config_site.py b/pjsip-apps/src/test-pjsua/config_site.py index 3eabc828..a6e4f29a 100644 --- a/pjsip-apps/src/test-pjsua/config_site.py +++ b/pjsip-apps/src/test-pjsua/config_site.py @@ -1,4 +1,4 @@ # $Id$ # Specify if host has sound device, or test should be performed using sound device -HAS_SND_DEV = 1 +HAS_SND_DEV = 0 diff --git a/pjsip-apps/src/test-pjsua/inc_cfg.py b/pjsip-apps/src/test-pjsua/inc_cfg.py index b05fe02f..d75c17f3 100644 --- a/pjsip-apps/src/test-pjsua/inc_cfg.py +++ b/pjsip-apps/src/test-pjsua/inc_cfg.py @@ -1,5 +1,6 @@ # $Id$ import random +import config_site DEFAULT_ECHO = True DEFAULT_TRACE = True @@ -7,7 +8,7 @@ DEFAULT_START_SIP_PORT = 50000 # Shared vars ARGS = [] # arguments containing script module & config -HAS_SND_DEV = 1 # specify 1 if system has sound device and prefer to use sound device in the tests +HAS_SND_DEV = config_site.HAS_SND_DEV # Individual pjsua instance configuration class class InstanceParam: -- cgit v1.2.3