38 #define G723_MAX_SIZE 1024 47 if (fread(&delay, 1, 4, s->
f) == 4)
51 if (fread(&size, 1, 2, s->
f) != 2) {
90 if ((res = fwrite(&delay, 1, 4, s->
f)) != 4) {
95 if ((res = fwrite(&size, 1, 2, s->
f)) != 2) {
116 if ((fd = fileno(fs->
f)) < 0) {
120 if ((cur = ftello(fs->
f)) < 0) {
125 return ftruncate(fd, cur);
135 .exts =
"g723|g723sf",
Asterisk main include file. File version handling, generic pbx functions.
struct ast_frame_subclass subclass
#define AST_FRIENDLY_OFFSET
Offset into a frame's data buffer.
struct ast_frame fr
frame produced by read, typically
#define AST_FRAME_SET_BUFFER(fr, _base, _ofs, _datalen)
Module has failed to load, may be in an inconsistent state.
AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS|AST_MODFLAG_LOAD_ORDER, "HTTP Phone Provisioning",.support_level=AST_MODULE_SUPPORT_EXTENDED,.load=load_module,.unload=unload_module,.reload=reload,.load_pri=AST_MODPRI_CHANNEL_DEPEND,.requires="http",)
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.
union ast_frame::@263 data
struct ast_format * format
#define ASTERISK_GPL_KEY
The text the key() function should return.
Asterisk module definitions.