Mon Jun 27 16:51:23 2011

Asterisk developer's documentation


ast_filestream Struct Reference

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
ast_formatfmt
ast_frame fr
int lasttimeout
int lastwriteformat
mode_t mode
char * open_filename
const char * orig_chan_name
ast_channelowner
char * realfilename
ast_tranlator_pvt * tr
ast_trans_pvttrans
ast_filestreamvfs
char * write_buffer


Detailed Description

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.).

Definition at line 100 of file mod_format.h.


Field Documentation

void* _private

pointer to private buffer

Definition at line 119 of file mod_format.h.

Referenced by g726_open(), g726_read(), g726_write(), get_filestream(), h263_read(), h264_read(), ogg_vorbis_close(), ogg_vorbis_open(), ogg_vorbis_read(), ogg_vorbis_rewrite(), ogg_vorbis_write(), pcm_write(), read_samples(), wav_close(), wav_open(), wav_read(), wav_rewrite(), wav_seek(), and wav_write().

char* buf

buffer pointed to by ast_frame;

Definition at line 118 of file mod_format.h.

Referenced by ast_fileexists(), ast_openstream_full(), ast_openvstream(), ast_writefile(), g719read(), g723_read(), g726_read(), g729_read(), get_filestream(), 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 ast_streamfile(), ast_writefile(), au_open(), au_rewrite(), au_seek(), au_tell(), au_trunc(), g719read(), g719seek(), g719tell(), g719trunc(), g719write(), g723_read(), g723_trunc(), g723_write(), g726_read(), g726_write(), g729_read(), g729_seek(), g729_tell(), g729_trunc(), g729_write(), get_filestream(), gsm_read(), gsm_seek(), gsm_tell(), gsm_trunc(), gsm_write(), h263_open(), h263_read(), h263_tell(), h263_trunc(), h263_write(), h264_open(), h264_read(), h264_tell(), h264_trunc(), h264_write(), ilbc_read(), ilbc_seek(), ilbc_tell(), ilbc_trunc(), ilbc_write(), ogg_vorbis_close(), ogg_vorbis_open(), ogg_vorbis_rewrite(), ogg_vorbis_write(), pcm_read(), pcm_seek(), pcm_tell(), pcm_trunc(), pcm_write(), read_samples(), siren14read(), siren14seek(), siren14tell(), siren14trunc(), siren14write(), siren7read(), siren7seek(), siren7tell(), siren7trunc(), siren7write(), slinear_read(), slinear_seek(), slinear_tell(), slinear_trunc(), slinear_write(), vox_read(), vox_seek(), vox_tell(), vox_trunc(), vox_write(), waitstream_core(), wav_close(), wav_open(), wav_read(), wav_rewrite(), wav_seek(), wav_tell(), wav_trunc(), and wav_write().

char* filename

Definition at line 106 of file mod_format.h.

Referenced by ast_filehelper(), ast_readfile(), ast_writefile(), ast_writestream(), and wav_close().

int flags

Definition at line 103 of file mod_format.h.

Referenced by ast_readfile(), ast_writefile(), and ast_writestream().

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_filehelper(), ast_openvstream(), ast_playstream(), ast_readaudio_callback(), ast_readfile(), ast_readvideo_callback(), ast_seekstream(), ast_streamfile(), ast_tellstream(), ast_truncstream(), ast_write(), ast_writefile(), ast_writestream(), au_seek(), fn_wrapper(), get_filestream(), pcm_read(), pcm_seek(), pcm_write(), read_frame(), wav_open(), wav_rewrite(), and wav_write().

struct ast_frame fr

frame produced by read, typically

Definition at line 117 of file mod_format.h.

Referenced by g719read(), g723_read(), g726_read(), g729_read(), get_filestream(), 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_readfile(), ast_writefile(), and ast_writestream().

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 ast_readaudio_callback(), ast_streamfile(), and waitstream_core().

struct ast_channel* owner

Definition at line 115 of file mod_format.h.

Referenced by ast_applystream(), ast_readaudio_callback(), and ast_readvideo_callback().

char* realfilename

Definition at line 107 of file mod_format.h.

Referenced by 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_filehelper(), ast_readfile(), ast_writefile(), and ast_writestream().

struct ast_filestream* vfs

Video file stream

Definition at line 109 of file mod_format.h.

Referenced by ast_readfile(), ast_streamfile(), ast_writefile(), ast_writestream(), handle_getoption(), and handle_streamfile().

char* write_buffer

Definition at line 121 of file mod_format.h.

Referenced by ast_writefile().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:23 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7