modification based on comments
This commit is contained in:
parent
537640dea9
commit
f817bacb73
|
@ -2267,8 +2267,7 @@ PJ_DEF(pj_status_t) pjsua_set_snd_dev2(const pjsua_snd_dev_param *snd_param)
|
||||||
PJSUA_UNLOCK();
|
PJSUA_UNLOCK();
|
||||||
PJ_LOG(4, (THIS_FILE, "No sound device, mode setting is ignored"));
|
PJ_LOG(4, (THIS_FILE, "No sound device, mode setting is ignored"));
|
||||||
if (!pjsua_var.no_snd)
|
if (!pjsua_var.no_snd)
|
||||||
if (pjsua_set_no_snd_dev() == NULL)
|
PJ_ASSERT_RETURN(pjsua_set_no_snd_dev(), PJ_ENOTFOUND);
|
||||||
status = PJ_ENOTFOUND;
|
|
||||||
|
|
||||||
pj_log_pop_indent();
|
pj_log_pop_indent();
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in New Issue