Thu Jul 9 13:41:38 2009

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
const char * orig_chan_name
ast_channelowner
char * realfilename
ast_tranlator_pvt * tr
ast_trans_pvttrans
ast_filestreamvfs


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 118 of file mod_format.h.

Referenced by g726_open(), ogg_vorbis_close(), ogg_vorbis_read(), ogg_vorbis_write(), pcm_write(), read_samples(), wav_seek(), and wav_write().

char* buf

buffer pointed to by ast_frame;

Definition at line 117 of file mod_format.h.

Referenced by ogg_vorbis_read().

FILE* f

Definition at line 115 of file mod_format.h.

Referenced by au_seek(), au_tell(), au_trunc(), g723_trunc(), g729_seek(), g729_tell(), g729_trunc(), g729_write(), gsm_seek(), gsm_tell(), gsm_trunc(), gsm_write(), h263_tell(), h263_trunc(), h263_write(), h264_tell(), h264_trunc(), ilbc_seek(), ilbc_tell(), ilbc_trunc(), ilbc_write(), ogg_vorbis_close(), ogg_vorbis_write(), pcm_seek(), pcm_tell(), pcm_trunc(), pcm_write(), read_samples(), slinear_seek(), slinear_tell(), slinear_trunc(), slinear_write(), vox_seek(), vox_tell(), vox_trunc(), wav_seek(), wav_tell(), wav_trunc(), and wav_write().

char* filename

Definition at line 105 of file mod_format.h.

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

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_openvstream(), ast_readfile(), ast_seekstream(), ast_streamfile(), ast_tellstream(), ast_truncstream(), ast_writefile(), ast_writestream(), au_seek(), get_filestream(), pcm_seek(), and pcm_write().

struct ast_frame fr

frame produced by read, typically

Definition at line 116 of file mod_format.h.

Referenced by ast_filestream_frame_freed(), and ogg_vorbis_read().

int lasttimeout

Definition at line 113 of file mod_format.h.

int lastwriteformat

Definition at line 112 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().

const char* orig_chan_name

Definition at line 119 of file mod_format.h.

Referenced by ast_streamfile(), and waitstream_core().

struct ast_channel* owner

Definition at line 114 of file mod_format.h.

char* realfilename

Definition at line 106 of file mod_format.h.

Referenced by ast_writefile().

struct ast_tranlator_pvt* tr

Definition at line 111 of file mod_format.h.

struct ast_trans_pvt* trans

Transparently translate from another format -- just once

Definition at line 110 of file mod_format.h.

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

struct ast_filestream* vfs

Video file stream

Definition at line 108 of file mod_format.h.

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


The documentation for this struct was generated from the following file:
Generated on Thu Jul 9 13:41:38 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7