Ignore:
Timestamp:
Jun 21, 2010 9:10:44 AM (12 years ago)
Author:
nanang
Message:

Misc (re #1068): added new API pjmedia_master_port_wait() to poll master port clock when it is created with PJMEDIA_CLOCK_NO_ASYNC flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/master_port.c

    r2394 r3214  
    148148 
    149149 
     150/* Poll the master port clock */ 
     151PJ_DEF(pj_bool_t) pjmedia_master_port_wait( pjmedia_master_port *m, 
     152                                            pj_bool_t wait, 
     153                                            pj_timestamp *ts) 
     154{ 
     155    PJ_ASSERT_RETURN(m && m->clock, PJ_FALSE); 
     156 
     157    return pjmedia_clock_wait(m->clock, wait, ts); 
     158} 
     159 
    150160/* 
    151161 * Callback to be called for each clock ticks. 
Note: See TracChangeset for help on using the changeset viewer.