mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user