Changeset 438 for pjproject/trunk/pjmedia/include/pjmedia/types.h
- Timestamp:
- May 13, 2006 10:46:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/types.h
r411 r438 115 115 116 116 /** 117 * Typedef for media stream information. 117 * This is a general purpose function set PCM samples to zero. 118 * Since this function is needed by many parts of the library, it is important 119 * that the library should select the best performance for this. 120 * 121 * @param samples The 16bit PCM samples. 122 * @param count Number of samples. 118 123 */ 119 typedef struct pjmedia_stream_info pjmedia_stream_info; 124 PJ_INLINE(void) pjmedia_zero_samples(pj_int16_t *samples, unsigned count) 125 { 126 unsigned i; 127 for (i=0; i<count; ++i) 128 samples[i] = 0; 129 } 120 130 121 /**122 * Typedef for media stream statistic.123 */124 typedef struct pjmedia_stream_stat pjmedia_stream_stat;125 126 /**127 * Typedef for media stream.128 */129 typedef struct pjmedia_stream pjmedia_stream;130 131 /**132 * Individual channel statistic.133 */134 typedef struct pjmedia_channel_stat pjmedia_channel_stat;135 136 /**137 * Opaque declaration of media session.138 */139 typedef struct pjmedia_session pjmedia_session;140 141 /**142 * Media session info.143 */144 typedef struct pjmedia_session_info pjmedia_session_info;145 146 /**147 * Types of frame returned from jitter buffer (jbuf.h).148 */149 typedef enum pjmedia_jb_frame_type pjmedia_jb_frame_type;150 151 /**152 * Opaque declaration for jitter buffer.153 */154 typedef struct pjmedia_jbuf pjmedia_jbuf;155 131 156 132 #endif /* __PJMEDIA_TYPES_H__ */
Note: See TracChangeset
for help on using the changeset viewer.