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.
#define AST_FRAME_SET_BUFFER(fr, _base, _ofs, _datalen)
#define AST_FRIENDLY_OFFSET
Offset into a frame's data buffer.
Asterisk module definitions.
#define AST_MODULE_INFO(keystr, flags_to_set, desc, fields...)
@ AST_MODULE_SUPPORT_CORE
#define ASTERISK_GPL_KEY
The text the key() function should return.
@ AST_MODULE_LOAD_SUCCESS
@ AST_MODULE_LOAD_DECLINE
Module has failed to load, may be in an inconsistent state.
This structure is allocated by file.c in one chunk, together with buf_size and desc_size bytes of mem...
struct ast_frame fr
frame produced by read, typically
struct ast_format * format
Data structure associated with a single frame of data.
struct ast_frame_subclass subclass
union ast_frame::@239 data