Skip to content

Commit

Permalink
Misc (re #1751): fixed problem in r4852 which caused sound not to be …
Browse files Browse the repository at this point in the history
…opened

git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4857 74dad513-b988-da41-8d7b-12977e46ad98
  • Loading branch information
bennylp committed Jun 6, 2014
1 parent 4be273a commit 23ec0e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pjsip/src/pjsua-lib/pjsua_aud.c
Original file line number Diff line number Diff line change
Expand Up @@ -1920,7 +1920,8 @@ PJ_DEF(pj_status_t) pjsua_set_snd_dev( int capture_dev,
PJSUA_LOCK();

if (pjsua_var.cap_dev == capture_dev &&
pjsua_var.play_dev == playback_dev)
pjsua_var.play_dev == playback_dev &&
pjsua_var.snd_is_on)
{
PJ_LOG(4, (THIS_FILE, "No changes in capture and playback devices"));
PJSUA_UNLOCK();
Expand Down

0 comments on commit 23ec0e1

Please sign in to comment.