Suspected minor bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I noticed the following code in pjsua_app.c ...

    if (app_config.capture_dev  != PJSUA_INVALID_ID ||
        app_config.playback_dev != PJSUA_INVALID_ID)
    {
status = pjsua_set_snd_dev(app_config.capture_dev,
   app_config.playback_dev);
if (status != PJ_SUCCESS)
    goto on_error;
    }

I think it ought to be ...

    if (app_config.capture_dev  != PJMEDIA_AUD_INVALID_DEV ||
        app_config.playback_dev != PJMEDIA_AUD_INVALID_DEV)
    {
status = pjsua_set_snd_dev(app_config.capture_dev,
   app_config.playback_dev);
if (status != PJ_SUCCESS)
    goto on_error;
    }


Jeff Lawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20131024/2b5efd82/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux