Changeset 518 for pjproject/trunk/pjmedia/include/pjmedia/clock.h
- Timestamp:
- Jun 18, 2006 2:02:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/clock.h
r404 r518 27 27 28 28 29 /** 30 * @addtogroup PJMEDIA_CLOCK Clock Generator 31 * @ingroup PJMEDIA_PORT_CLOCK 32 * @brief Interface for generating clock. 33 * @{ 34 * 35 * The clock generator provides the application with media timing, 36 * and it is used by the @ref PJMEDIA_MASTER_PORT for its sound clock. 37 * 38 * The clock generator may be configured to run <b>asynchronously</b> 39 * (the default behavior) or <b>synchronously</b>. When it is run 40 * asynchronously, it will call the application's callback every time 41 * the clock <b>tick</b> expires. When it is run synchronously, 42 * application must continuously polls the clock generator to synchronize 43 * the timing. 44 */ 45 29 46 PJ_BEGIN_DECL 30 47 … … 36 53 37 54 55 /** 56 * Options when creating the clock. 57 */ 38 58 enum pjmedia_clock_options 39 59 { 60 /** 61 * Prevents the clock from running asynchronously. In this case, 62 * application must poll the clock continuously by calling 63 * #pjmedia_clock_wait() in order to synchronize timing. 64 */ 40 65 PJMEDIA_CLOCK_NO_ASYNC = 1, 41 66 }; 67 42 68 43 69 /** … … 138 164 PJ_END_DECL 139 165 166 /** 167 * @} 168 */ 140 169 141 170
Note: See TracChangeset
for help on using the changeset viewer.