Merge res_fax and res_fax_spandsp.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@250190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Nicholson
2010-03-02 23:11:06 +00:00
parent b5c98d640a
commit 06dc8bc123
4 changed files with 2670 additions and 4 deletions

View File

@@ -131,16 +131,18 @@ enum {
AST_FRFLAG_HAS_TIMING_INFO = (1 << 0),
};
union ast_frame_subclass {
int integer;
format_t codec;
};
/*! \brief Data structure associated with a single frame of data
*/
struct ast_frame {
/*! Kind of frame */
enum ast_frame_type frametype;
/*! Subclass, frame dependent */
union {
int integer;
format_t codec;
} subclass;
union ast_frame_subclass subclass;
/*! Length of data */
int datalen;
/*! Number of samples in this frame */