diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 03:23:38 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-09-08 03:23:38 +0000 |
commit | 6995f4d2e3a1ac03a0d47b2e2389e6f8f4636ea4 (patch) | |
tree | 6f2fa07d6874bc525025bea3d3012c2f4a9bfd3f /include | |
parent | 0a3567c3fc7e5fd89c747982bb7c1294ed89d941 (diff) |
add frame type for T.38, remove some unused stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6551 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/frame.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index e39974d36..80af31ad5 100755 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -35,7 +35,6 @@ struct ast_codec_pref { 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 { 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 @@ struct ast_frame_chain { /*! 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 @@ struct ast_frame_chain { #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_frisolate(struct ast_frame *fr); */ 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 |