diff options
author | Liong Sauw Ming <ming@teluu.com> | 2015-09-17 03:44:17 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2015-09-17 03:44:17 +0000 |
commit | 2f953e004a63bada508be75fb9c7a3faa1924132 (patch) | |
tree | e877fd09bd0f71ef674cba44060bebe3a4219e6a /pjsip/src | |
parent | 4d546eff823398e3fe89b59525e5b2da18bdc13e (diff) |
Re #1882 (misc): Related to r4852 and r4857, fixed problem in reopening sound device after setting it to null device
Thanks to Fredrik Hansson for the report and patch
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5179 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_aud.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_aud.c b/pjsip/src/pjsua-lib/pjsua_aud.c index 921a5f61..509dd062 100644 --- a/pjsip/src/pjsua-lib/pjsua_aud.c +++ b/pjsip/src/pjsua-lib/pjsua_aud.c @@ -1940,7 +1940,7 @@ PJ_DEF(pj_status_t) pjsua_set_snd_dev( int capture_dev, if (pjsua_var.cap_dev == capture_dev && pjsua_var.play_dev == playback_dev && - pjsua_var.snd_is_on) + pjsua_var.snd_is_on && !pjsua_var.no_snd) { PJ_LOG(4, (THIS_FILE, "No changes in capture and playback devices")); PJSUA_UNLOCK(); |