24 #ifndef _ASTERISK_MOD_FORMAT_H 25 #define _ASTERISK_MOD_FORMAT_H 30 #if defined(__cplusplus) || defined(c_plusplus) 113 struct ast_tranlator_pvt *
tr;
136 #define ast_format_def_register(f) __ast_format_def_register(f, AST_MODULE_SELF) 147 #if defined(__cplusplus) || defined(c_plusplus)
Main Channel structure associated with a channel.
Generic File Format Support. Should be included by clients of the file handling routines. File service providers should instead include mod_format.h.
struct ast_tranlator_pvt * tr
struct ast_format_def * fmt
Asterisk internal frame definitions.
const char * orig_chan_name
Default structure for translators, with the basic fields and buffers, all allocated as part of the sa...
struct ast_channel * owner
struct ast_trans_pvt * trans
#define AST_LIST_ENTRY(type)
Declare a forward link structure inside a list entry.
struct ast_format * lastwriteformat
This structure is allocated by file.c in one chunk, together with buf_size and desc_size bytes of mem...
Data structure associated with a single frame of data.
struct ast_filestream * vfs