39 #include "asterisk/mod_format.h"
51 #define BUF_SIZE (5*FRAME_TIME)
71 ast_debug(1,
"Created filestream G.726-%dk.\n", 40 - s->
rate * 8);
160 res, frame_size[fs->
rate], strerror(
errno));
245 for (i = 0; f[i].
format ; i++) {
258 for (i = 0; f[i].
format ; i++) {
union ast_frame_subclass subclass
Asterisk main include file. File version handling, generic pbx functions.
#define AST_MODULE_INFO(keystr, flags_to_set, desc, fields...)
#define AST_FRAME_SET_BUFFER(fr, _base, _ofs, _datalen)
#define ast_debug(level,...)
Log a DEBUG message.
#define AST_FRIENDLY_OFFSET
Offset into a frame's data buffer.
Asterisk architecture endianess compatibility definitions.
char * ast_getformatname(format_t format)
Get the name of a format.
void ast_log(int level, const char *file, int line, const char *function, const char *fmt,...)
Used for sending a log message This is the standard logger function. Probably the only way you will i...
if(yyss+yystacksize-1<=yyssp)
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.
enum ast_frame_type frametype
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.
union ast_frame::@172 data
#define ASTERISK_FILE_VERSION(file, version)
Register/unregister a source code file with the core.