char order[32];
};
-
/*! Data structure associated with a single frame of data */
/* A frame of data read used to communicate between
between channels and applications */
struct ast_frame *prev;
/*! Next/Prev for linking stand alone frames */
struct ast_frame *next;
- /* Unused except if debugging is turned on, but left
- in the struct so that it can be turned on without
- requiring a recompile of the whole thing */
-};
-
-struct ast_frame_chain {
- /* XXX Should ast_frame chain's be just prt of frames, i.e. should they just link? XXX */
- struct ast_frame *fr;
- struct ast_frame_chain *next;
};
#define AST_FRIENDLY_OFFSET 64 /*! It's polite for a a new frame to
/*! Comfort Noise frame (subclass is level of CNG in -dBov),
body may include zero or more 8-bit quantization coefficients */
#define AST_FRAME_CNG 10
+/*! T.38 Fax-over-IP data stream */
+#define AST_FRAME_T38 11
/* HTML subclasses */
/*! Sending a URL */
#define AST_FORMAT_H263 (1 << 19)
/*! H.263+ Video */
#define AST_FORMAT_H263_PLUS (1 << 20)
-/*! Max one */
+/*! Maximum video format */
#define AST_FORMAT_MAX_VIDEO (1 << 24)
/* Control frame types */
*/
struct ast_frame *ast_frdup(struct ast_frame *fr);
-/*! Chains a frame -- unimplemented */
-#if 0 /* unimplemented */
-void ast_frchain(struct ast_frame_chain *fc);
-#endif
-
/*! Reads a frame from an fd */
/*!
* \param fd an opened fd to read from