- Timestamp:
- Feb 3, 2008 4:55:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/jbuf2/pjmedia/include/pjmedia/jbuf2.h
r1770 r1775 49 49 */ 50 50 typedef struct pjmedia_jb2_t pjmedia_jb2_t; 51 52 /** 53 * Types of jitter buffer phase. 54 */ 55 typedef enum pjmedia_jb2_phase 56 { 57 PJMEDIA_JB_PH_IDLE = 0, /**< No activity in PUT/GET or both */ 58 PJMEDIA_JB_PH_LEARNING = 1, /**< Normal encoded frame */ 59 PJMEDIA_JB_PH_RUNNING = 2, /**< Normal PCM frame */ 60 } pjmedia_jb2_phase; 51 61 52 62 /** … … 79 89 typedef struct pjmedia_jb2_state 80 90 { 81 /* frames */ 91 pjmedia_jb2_phase phase; 92 93 /* in frames */ 82 94 pj_uint16_t level; 83 95 pj_uint32_t frame_cnt; 84 96 85 /* samples */97 /* in samples */ 86 98 pj_int32_t drift; 87 99 pj_uint32_t drift_span; … … 97 109 typedef struct pjmedia_jb2_stat 98 110 { 99 /* frames */111 /* in frames */ 100 112 pj_uint32_t lost; 101 113 pj_uint32_t late; … … 104 116 pj_uint32_t in; 105 117 106 /* ticks */118 /* in ticks */ 107 119 pj_uint32_t full; 108 120 pj_uint32_t empty; 109 121 110 /* samples */122 /* in samples */ 111 123 pj_uint32_t max_size; 112 124 pj_int32_t max_drift; … … 114 126 pj_int32_t max_comp; 115 127 116 /* ticks */128 /* in frames */ 117 129 pj_uint16_t max_level; 118 130 } pjmedia_jb2_stat;
Note: See TracChangeset
for help on using the changeset viewer.