This structure is allocated by file.c in one chunk, together with buf_size and desc_size bytes of memory to be used for private purposes (e.g. buffers etc.) More...
#include <mod_format.h>

Data Fields | |
| void * | _private |
| char * | buf |
| FILE * | f |
| char * | filename |
| int | flags |
| struct ast_format * | fmt |
| struct ast_frame | fr |
| int | lasttimeout |
| int | lastwriteformat |
| mode_t | mode |
| char * | open_filename |
| const char * | orig_chan_name |
| struct ast_channel * | owner |
| char * | realfilename |
| struct ast_tranlator_pvt * | tr |
| struct ast_trans_pvt * | trans |
| struct ast_filestream * | vfs |
| char * | write_buffer |
This structure is allocated by file.c in one chunk, together with buf_size and desc_size bytes of memory to be used for private purposes (e.g. buffers etc.)
| void* _private |
pointer to private buffer
Definition at line 119 of file mod_format.h.
Referenced by get_filestream(), g726_open(), g726_read(), g726_write(), h263_read(), h264_read(), ogg_vorbis_open(), ogg_vorbis_rewrite(), ogg_vorbis_write(), ogg_vorbis_close(), read_samples(), ogg_vorbis_read(), pcm_write(), wav_open(), wav_rewrite(), wav_close(), wav_read(), wav_write(), and wav_seek().
| char* buf |
buffer pointed to by ast_frame;
Definition at line 118 of file mod_format.h.
Referenced by get_filestream(), ast_openstream_full(), ast_openvstream(), ast_fileexists(), ast_writefile(), g719read(), g723_read(), g726_read(), g729_read(), gsm_read(), h263_read(), h264_read(), ilbc_read(), ogg_vorbis_read(), pcm_read(), siren14read(), siren7read(), slinear_read(), vox_read(), wav_read(), and wav_write().
| FILE* f |
Definition at line 116 of file mod_format.h.
Referenced by filestream_destructor(), get_filestream(), ast_streamfile(), ast_writefile(), waitstream_core(), g719read(), g719write(), g719seek(), g719trunc(), g719tell(), g723_read(), g723_write(), g723_trunc(), g726_read(), g726_write(), g729_read(), g729_write(), g729_seek(), g729_trunc(), g729_tell(), gsm_read(), gsm_write(), gsm_seek(), gsm_trunc(), gsm_tell(), h263_open(), h263_read(), h263_write(), h263_trunc(), h263_tell(), h264_open(), h264_read(), h264_write(), h264_trunc(), h264_tell(), ilbc_read(), ilbc_write(), ilbc_seek(), ilbc_trunc(), ilbc_tell(), ogg_vorbis_open(), ogg_vorbis_rewrite(), ogg_vorbis_write(), ogg_vorbis_close(), read_samples(), pcm_read(), pcm_seek(), pcm_trunc(), pcm_tell(), pcm_write(), au_open(), au_rewrite(), au_seek(), au_trunc(), au_tell(), siren14read(), siren14write(), siren14seek(), siren14trunc(), siren14tell(), siren7read(), siren7write(), siren7seek(), siren7trunc(), siren7tell(), slinear_read(), slinear_write(), slinear_seek(), slinear_trunc(), slinear_tell(), vox_read(), vox_write(), vox_seek(), vox_trunc(), vox_tell(), wav_open(), wav_rewrite(), wav_close(), wav_read(), wav_write(), wav_seek(), wav_trunc(), and wav_tell().
| char* filename |
Definition at line 106 of file mod_format.h.
Referenced by ast_writestream(), filestream_destructor(), ast_filehelper(), ast_readfile(), ast_writefile(), and wav_close().
| int flags |
Definition at line 103 of file mod_format.h.
Referenced by ast_writestream(), ast_readfile(), and ast_writefile().
| struct ast_format* fmt |
Everybody reserves a block of AST_RESERVED_POINTERS pointers for us
Definition at line 102 of file mod_format.h.
Referenced by __ast_read(), ast_write(), ast_writestream(), filestream_destructor(), get_filestream(), fn_wrapper(), ast_filehelper(), ast_openvstream(), read_frame(), ast_readaudio_callback(), ast_readvideo_callback(), ast_playstream(), ast_seekstream(), ast_truncstream(), ast_tellstream(), ast_closestream(), ast_streamfile(), ast_readfile(), ast_writefile(), pcm_read(), pcm_seek(), pcm_write(), au_seek(), wav_open(), wav_rewrite(), and wav_write().
frame produced by read, typically
Definition at line 117 of file mod_format.h.
Referenced by get_filestream(), g719read(), g723_read(), g726_read(), g729_read(), gsm_read(), h263_read(), h264_read(), ilbc_read(), ogg_vorbis_read(), pcm_read(), siren14read(), siren7read(), slinear_read(), vox_read(), and wav_read().
| int lasttimeout |
Definition at line 114 of file mod_format.h.
Referenced by ast_filehelper(), ast_readaudio_callback(), and ast_readvideo_callback().
| int lastwriteformat |
Definition at line 113 of file mod_format.h.
Referenced by ast_writestream().
| mode_t mode |
Definition at line 104 of file mod_format.h.
Referenced by ast_writestream(), ast_readfile(), ast_writefile(), and wav_close().
| char* open_filename |
Definition at line 105 of file mod_format.h.
| const char* orig_chan_name |
Definition at line 120 of file mod_format.h.
Referenced by filestream_destructor(), ast_readaudio_callback(), ast_streamfile(), and waitstream_core().
| struct ast_channel* owner |
Definition at line 115 of file mod_format.h.
Referenced by filestream_destructor(), ast_readaudio_callback(), ast_readvideo_callback(), ast_applystream(), and ast_closestream().
| char* realfilename |
Definition at line 107 of file mod_format.h.
Referenced by filestream_destructor(), and ast_writefile().
| struct ast_tranlator_pvt* tr |
Definition at line 112 of file mod_format.h.
| struct ast_trans_pvt* trans |
Transparently translate from another format -- just once
Definition at line 111 of file mod_format.h.
Referenced by ast_writestream(), filestream_destructor(), ast_filehelper(), ast_readfile(), and ast_writefile().
| struct ast_filestream* vfs |
Video file stream
Definition at line 109 of file mod_format.h.
Referenced by ast_writestream(), filestream_destructor(), ast_streamfile(), ast_readfile(), ast_writefile(), handle_streamfile(), and handle_getoption().
| char* write_buffer |
Definition at line 121 of file mod_format.h.
Referenced by filestream_destructor(), and ast_writefile().