Fri May 26 01:51:09 2006

Asterisk developer's documentation


ast_filestream Struct Reference

Collaboration diagram for ast_filestream:

Collaboration graph
[legend]

Data Fields

unsigned char buf [BUF_SIZE]
char buf [G723_MAX_SIZE+AST_FRIENDLY_OFFSET]
short buf [BUF_SIZE]
short buffer [SAMPLES_MAX]
 Buffer to hold audio data.
int bytes
char empty
int eos
 Indicates whether an End of Stream condition has been detected.
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
FILE * f
char * filename
int flags
ast_formatfmt
int foffset
ast_frame fr
ast_frame fr
ast_frame fr
ast_frame fr
ast_frame fr
ast_frame fr
ast_frame fr
 Asterisk frame object.
ast_frame fr
ast_frame fr
ast_frame fr
ast_frame fr
ast_frame fr
ast_framefr
ast_frame fr
unsigned char g726 [FRAME_TIME *5]
unsigned char g729 [20]
unsigned char gsm [66]
unsigned char h263 [4096]
unsigned char ilbc [50]
timeval last
timeval last
timeval last
timeval last
timeval last
int lasttimeout
unsigned int lastts
int lastwriteformat
int maxlen
mode_t mode
int needsgain
ast_filestreamnext
unsigned char next_flag
ogg_page og
ogg_packet op
timeval orig
ogg_stream_state os
ast_channelowner
ast_channelowner
ast_channelowner
ast_channelowner
ogg_sync_state oy
int rate
char * realfilename
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
void * reserved [AST_RESERVED_POINTERS]
int secondhalf
short signal
short ssindex
ast_tranlator_pvt * tr
ast_trans_pvttrans
vorbis_block vb
vorbis_comment vc
vorbis_dsp_state vd
ast_filestreamvfs
vorbis_info vi
char waste [AST_FRIENDLY_OFFSET]
int writing
 Indicates whether this filestream is set up for reading or writing.
unsigned char zero_count

Detailed Description

Definition at line 84 of file file.c.


Field Documentation

unsigned char buf[BUF_SIZE]
 

Definition at line 59 of file format_pcm.c.

char buf[G723_MAX_SIZE+AST_FRIENDLY_OFFSET]
 

Definition at line 61 of file format_g723.c.

short buf
 

Definition at line 69 of file format_au.c.

Referenced by ast_writefile(), au_open(), and wav_write().

short buffer[SAMPLES_MAX]
 

Buffer to hold audio data.

Definition at line 80 of file format_ogg_vorbis.c.

Referenced by ogg_vorbis_open(), ogg_vorbis_write(), and read_samples().

int bytes
 

Definition at line 56 of file format_wav.c.

Referenced by ogg_vorbis_open(), and read_samples().

char empty
 

Definition at line 68 of file format_au.c.

int eos
 

Indicates whether an End of Stream condition has been detected.

Definition at line 77 of file format_ogg_vorbis.c.

FILE* f
 

Definition at line 71 of file format_wav_gsm.c.

FILE* f
 

Definition at line 55 of file format_wav.c.

FILE* f
 

Definition at line 53 of file format_vox.c.

FILE* f
 

Definition at line 51 of file format_sln.c.

FILE* f
 

Definition at line 59 of file format_pcm_alaw.c.

FILE* f
 

Definition at line 54 of file format_pcm.c.

FILE* f
 

Definition at line 59 of file format_ogg_vorbis.c.

FILE* f
 

Definition at line 58 of file format_ilbc.c.

FILE* f
 

Definition at line 56 of file format_h263.c.

FILE* f
 

Definition at line 66 of file format_gsm.c.

FILE* f
 

Definition at line 59 of file format_g729.c.

FILE* f
 

Definition at line 73 of file format_g726.c.

FILE* f
 

Definition at line 57 of file format_g723.c.

FILE* f
 

Definition at line 64 of file format_au.c.

Referenced by ast_readfile(), ast_writefile(), au_open(), au_rewrite(), au_seek(), au_tell(), au_trunc(), au_write(), g723_trunc(), g723_write(), g726_write(), g729_seek(), g729_tell(), g729_trunc(), g729_write(), gsm_seek(), gsm_tell(), gsm_trunc(), gsm_write(), h263_tell(), h263_trunc(), h263_write(), ilbc_seek(), ilbc_tell(), ilbc_trunc(), ilbc_write(), ogg_vorbis_write(), pcm_seek(), pcm_tell(), pcm_trunc(), pcm_write(), recordthread(), slinear_seek(), slinear_tell(), slinear_trunc(), slinear_write(), vox_seek(), vox_tell(), vox_trunc(), vox_write(), wav_seek(), wav_tell(), wav_trunc(), and wav_write().

char* filename
 

Definition at line 89 of file file.c.

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

int flags
 

Definition at line 87 of file file.c.

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

struct ast_format* fmt
 

Definition at line 86 of file file.c.

Referenced by ast_closestream(), ast_readfile(), ast_seekstream(), ast_tellstream(), ast_truncstream(), ast_writefile(), and ast_writestream().

int foffset
 

Definition at line 62 of file format_wav.c.

struct ast_frame fr
 

Definition at line 72 of file format_wav_gsm.c.

struct ast_frame fr
 

Definition at line 58 of file format_wav.c.

struct ast_frame fr
 

Definition at line 54 of file format_vox.c.

struct ast_frame fr
 

Definition at line 53 of file format_sln.c.

struct ast_frame fr
 

Definition at line 60 of file format_pcm_alaw.c.

struct ast_frame fr
 

Definition at line 56 of file format_pcm.c.

struct ast_frame fr
 

Asterisk frame object.

Definition at line 83 of file format_ogg_vorbis.c.

struct ast_frame fr
 

Definition at line 59 of file format_ilbc.c.

struct ast_frame fr
 

Definition at line 58 of file format_h263.c.

struct ast_frame fr
 

Definition at line 67 of file format_gsm.c.

struct ast_frame fr
 

Definition at line 60 of file format_g729.c.

struct ast_frame fr
 

Definition at line 75 of file format_g726.c.

struct ast_frame* fr
 

Definition at line 59 of file format_g723.c.

struct ast_frame fr
 

Definition at line 66 of file format_au.c.

Referenced by au_open(), and g723_write().

unsigned char g726[FRAME_TIME *5]
 

Definition at line 78 of file format_g726.c.

unsigned char g729[20]
 

Definition at line 63 of file format_g729.c.

unsigned char gsm
 

Definition at line 70 of file format_gsm.c.

Referenced by wav_write().

unsigned char h263[4096]
 

Definition at line 61 of file format_h263.c.

unsigned char ilbc[50]
 

Definition at line 62 of file format_ilbc.c.

struct timeval last
 

Definition at line 78 of file format_wav_gsm.c.

struct timeval last
 

Definition at line 65 of file format_wav.c.

struct timeval last
 

Definition at line 59 of file format_vox.c.

struct timeval last
 

Definition at line 57 of file format_sln.c.

struct timeval last
 

Definition at line 60 of file format_pcm.c.

int lasttimeout
 

Definition at line 97 of file file.c.

unsigned int lastts
 

Definition at line 57 of file format_h263.c.

int lastwriteformat
 

Definition at line 96 of file file.c.

Referenced by ast_writestream().

int maxlen
 

Definition at line 64 of file format_wav.c.

mode_t mode
 

Definition at line 88 of file file.c.

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

int needsgain
 

Definition at line 57 of file format_wav.c.

struct ast_filestream* next
 

Definition at line 58 of file format_g723.c.

unsigned char next_flag
 

Definition at line 63 of file format_vox.c.

ogg_page og
 

Definition at line 64 of file format_ogg_vorbis.c.

ogg_packet op
 

Definition at line 65 of file format_ogg_vorbis.c.

struct timeval orig
 

Definition at line 60 of file format_g723.c.

ogg_stream_state os
 

Definition at line 63 of file format_ogg_vorbis.c.

struct ast_channel* owner
 

Definition at line 52 of file format_sln.c.

struct ast_channel* owner
 

Definition at line 55 of file format_pcm.c.

struct ast_channel* owner
 

Definition at line 65 of file format_au.c.

struct ast_channel* owner
 

Definition at line 98 of file file.c.

Referenced by ast_closestream().

ogg_sync_state oy
 

Definition at line 62 of file format_ogg_vorbis.c.

int rate
 

Definition at line 74 of file format_g726.c.

Referenced by g726_write().

char* realfilename
 

Definition at line 90 of file file.c.

Referenced by ast_closestream(), and ast_writefile().

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 67 of file format_wav_gsm.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 53 of file format_wav.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 51 of file format_vox.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 49 of file format_sln.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 55 of file format_pcm_alaw.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 52 of file format_pcm.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 57 of file format_ogg_vorbis.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 54 of file format_ilbc.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 52 of file format_h263.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 62 of file format_gsm.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 55 of file format_g729.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 71 of file format_g726.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 55 of file format_g723.c.

void* reserved[AST_RESERVED_POINTERS]
 

Definition at line 62 of file format_au.c.

int secondhalf
 

Definition at line 77 of file format_wav_gsm.c.

Referenced by wav_write().

short signal
 

Definition at line 60 of file format_vox.c.

short ssindex
 

Definition at line 61 of file format_vox.c.

struct ast_tranlator_pvt* tr
 

Definition at line 95 of file file.c.

struct ast_trans_pvt* trans
 

Definition at line 94 of file file.c.

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

vorbis_block vb
 

Definition at line 71 of file format_ogg_vorbis.c.

vorbis_comment vc
 

Definition at line 69 of file format_ogg_vorbis.c.

vorbis_dsp_state vd
 

Definition at line 70 of file format_ogg_vorbis.c.

struct ast_filestream* vfs
 

Definition at line 92 of file file.c.

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

vorbis_info vi
 

Definition at line 68 of file format_ogg_vorbis.c.

char waste
 

Definition at line 67 of file format_au.c.

int writing
 

Indicates whether this filestream is set up for reading or writing.

Definition at line 74 of file format_ogg_vorbis.c.

unsigned char zero_count
 

Definition at line 62 of file format_vox.c.


The documentation for this struct was generated from the following files:
Generated on Fri May 26 01:51:09 2006 for Asterisk - the Open Source PBX by  doxygen 1.4.6