Changeset 2741


Ignore:
Timestamp:
Jun 3, 2009 12:43:06 PM (15 years ago)
Author:
bennylp
Message:

Ticket #876: Second call fails to open the sound device event when --null-audio is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r2724 r2741  
    25952595    pj_status_t status = -1; 
    25962596 
     2597    /* Null-sound */ 
     2598    if (capture_dev==NULL_SND_DEV_ID && playback_dev==NULL_SND_DEV_ID) { 
     2599        return pjsua_set_null_snd_dev(); 
     2600    } 
     2601 
    25972602    /* Set default clock rate */ 
    25982603    alt_cr[0] = pjsua_var.media_cfg.snd_clock_rate; 
Note: See TracChangeset for help on using the changeset viewer.