Ignore:
Timestamp:
Jun 21, 2010 9:10:44 AM (14 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/include/pjmedia/master_port.h

    r2394 r3214  
    107107 
    108108/** 
     109 * Poll the master port clock and execute the callback when the clock tick has 
     110 * elapsed. This operation is only valid if the master port is created with 
     111 * #PJMEDIA_CLOCK_NO_ASYNC flag. 
     112 * 
     113 * @param m                 The master port. 
     114 * @param wait              If non-zero, then the function will block until 
     115 *                          a clock tick elapsed and callback has been called. 
     116 * @param ts                Optional argument to receive the current  
     117 *                          timestamp. 
     118 * 
     119 * @return                  Non-zero if clock tick has elapsed, or FALSE if 
     120 *                          the function returns before a clock tick has 
     121 *                          elapsed. 
     122 */ 
     123PJ_DECL(pj_bool_t) pjmedia_master_port_wait(pjmedia_master_port *m, 
     124                                            pj_bool_t wait, 
     125                                            pj_timestamp *ts); 
     126 
     127 
     128/** 
    109129 * Change the upstream port. Note that application is responsible to destroy 
    110130 * current upstream port (the one that is going to be replaced with the 
Note: See TracChangeset for help on using the changeset viewer.