Changeset 2570


Ignore:
Timestamp:
Apr 6, 2009 10:02:53 AM (10 years ago)
Author:
bennylp
Message:

Ticket #768: Media initialization returns error if no audio device is detected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-audiodev/audiodev.c

    r2513 r2570  
    262262        dev_cnt = MAX_DEVS - aud_subsys.dev_cnt; 
    263263    } 
     264 
     265    /* enabling this will cause pjsua-lib initialization to fail when there 
     266     * is no sound device installed in the system, even when pjsua has been 
     267     * run with --null-audio 
     268     * 
    264269    if (dev_cnt == 0) { 
    265270        f->op->destroy(f); 
    266271        return PJMEDIA_EAUD_NODEV; 
    267272    } 
     273    */ 
    268274 
    269275    /* Fill in default devices */ 
Note: See TracChangeset for help on using the changeset viewer.