diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-05-10 09:05:19 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-05-10 09:05:19 +0000 |
commit | 09c94690a7cd0fc7b631bb6d888441de84b56aad (patch) | |
tree | 8383ab4a37bf0941485990422d4aafd7b324464e /pjsip-apps/src/pjsystest/systest.c | |
parent | 6a7593a8495767b5cd2e1b9a1e581164e5c660dc (diff) |
Ref #1068 (misc fixes): added facility to change device ID at run time in pjsystest
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3163 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsystest/systest.c')
-rw-r--r-- | pjsip-apps/src/pjsystest/systest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsystest/systest.c b/pjsip-apps/src/pjsystest/systest.c index 678b2c0c..2fe3bc69 100644 --- a/pjsip-apps/src/pjsystest/systest.c +++ b/pjsip-apps/src/pjsystest/systest.c @@ -103,6 +103,10 @@ typedef struct systest_t static systest_t systest; static char textbuf[600]; +/* Device ID to test */ +int systest_cap_dev_id = PJMEDIA_AUD_DEFAULT_CAPTURE_DEV; +int systest_play_dev_id = PJMEDIA_AUD_DEFAULT_PLAYBACK_DEV; + static void systest_perror(const char *title, pj_status_t status) { char errmsg[PJ_ERR_MSG_SIZE]; |