Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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
 
struct ast_format_deffmt
 
struct ast_frame fr
 frame produced by read, typically More...
 
int lasttimeout
 
struct ast_formatlastwriteformat
 
mode_t mode
 
char * open_filename
 
const char * orig_chan_name
 
struct ast_channelowner
 
char * realfilename
 
struct ast_translator_pvt * tr
 
struct ast_trans_pvttrans
 
struct 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 101 of file mod_format.h.

Field Documentation

void* _private
char* buf

buffer pointed to by ast_frame;

Definition at line 123 of file mod_format.h.

Referenced by ast_fileexists(), ast_writefile(), ogg_speex_read(), and ogg_vorbis_read().

struct ast_format_def* fmt

Everybody reserves a block of AST_RESERVED_POINTERS pointers for us

Definition at line 103 of file mod_format.h.

Referenced by ast_playstream(), ast_ratestream(), ast_readfile(), ast_seekstream(), ast_streamfile(), ast_tellstream(), ast_truncstream(), ast_writefile(), ast_writestream(), and ogg_speex_open().

struct ast_frame fr

frame produced by read, typically

Note
This frame holds a fr.subclass.format ref.

Definition at line 122 of file mod_format.h.

Referenced by ogg_speex_read(), and ogg_vorbis_read().

struct ast_trans_pvt* trans

Transparently translate from another format – just once

Definition at line 112 of file mod_format.h.

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

struct ast_filestream* vfs

Video file stream

Definition at line 110 of file mod_format.h.

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


The documentation for this struct was generated from the following file: