Ref #1068 (misc fixes): added facility to change device ID at run time in pjsystest
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3163 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/pjsystest/systest.c b/pjsip-apps/src/pjsystest/systest.c
index 678b2c0..2fe3bc6 100644
--- a/pjsip-apps/src/pjsystest/systest.c
+++ b/pjsip-apps/src/pjsystest/systest.c
@@ -103,6 +103,10 @@
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];