[Asterisk-cvs] asterisk/include/asterisk frame.h,1.56,1.57

kpfleming kpfleming
Wed Sep 7 23:23:20 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv1504/include/asterisk

Modified Files:
	frame.h 
Log Message:
add frame type for T.38, remove some unused stuff


Index: frame.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/frame.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- frame.h	7 Sep 2005 01:30:01 -0000	1.56
+++ frame.h	8 Sep 2005 03:23:38 -0000	1.57
@@ -35,7 +35,6 @@
 	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 */
@@ -62,15 +61,6 @@
 	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
@@ -107,6 +97,8 @@
 /*! 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 */
@@ -163,7 +155,7 @@
 #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 */
@@ -296,11 +288,6 @@
  */
 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




More information about the svn-commits mailing list