Changeset 2506 for pjproject/trunk/pjmedia/include/pjmedia/port.h
- Timestamp:
- Mar 12, 2009 6:11:37 PM (15 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
-
Property
svn:mergeinfo
set to
False
/pjproject/branches/projects/aps-direct merged eligible
-
Property
svn:mergeinfo
set to
False
-
pjproject/trunk/pjmedia/include/pjmedia/port.h
r2394 r2506 26 26 */ 27 27 #include <pjmedia/types.h> 28 #include <pj/assert.h> 28 29 #include <pj/os.h> 29 30 … … 212 213 pj_bool_t need_info; /**< Need info on connect? */ 213 214 unsigned pt; /**< Payload type (can be dynamic). */ 215 pjmedia_format format; /**< Format. */ 214 216 pj_str_t encoding_name; /**< Encoding name. */ 215 217 unsigned clock_rate; /**< Sampling rate. */ … … 221 223 222 224 223 /**224 * Types of media frame.225 */226 typedef enum pjmedia_frame_type227 {228 PJMEDIA_FRAME_TYPE_NONE, /**< No frame. */229 PJMEDIA_FRAME_TYPE_AUDIO /**< Normal audio frame. */230 231 } pjmedia_frame_type;232 233 234 /**235 * This structure describes a media frame.236 */237 typedef struct pjmedia_frame238 {239 pjmedia_frame_type type; /**< Frame type. */240 void *buf; /**< Pointer to buffer. */241 pj_size_t size; /**< Frame size in bytes. */242 pj_timestamp timestamp; /**< Frame timestamp. */243 pj_uint32_t bit_info; /**< Bit info of the frame, sample case:244 a frame may not exactly start and end245 at the octet boundary, so this field246 may be used for specifying start &247 end bit offset. */248 } pjmedia_frame;249 250 251 225 /** 252 226 * Port interface.
Note: See TracChangeset
for help on using the changeset viewer.