Wed Oct 28 15:49:29 2009

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
char * filename
int flags
struct ast_formatfmt
int foffset
struct ast_framefr
struct ast_frame fr
 Asterisk frame object.
unsigned char g726 [FRAME_TIME *5]
unsigned char g729 [20]
unsigned char gsm [66]
unsigned char h263 [32768]
unsigned char ilbc [50]
struct timeval last
int lasttimeout
unsigned int lastts
int lastwriteformat
int maxlen
mode_t mode
int needsgain
struct ast_filestreamnext
unsigned char next_flag
ogg_page og
ogg_packet op
struct timeval orig
ogg_stream_state os
struct ast_channelowner
ogg_sync_state oy
int rate
char * realfilename
void * reserved [AST_RESERVED_POINTERS]
int secondhalf
short signal
short ssindex
struct ast_tranlator_pvt * tr
struct ast_trans_pvttrans
vorbis_block vb
vorbis_comment vc
vorbis_dsp_state vd
struct 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

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_read(), ogg_vorbis_write(), and read_samples().

int bytes

Definition at line 56 of file format_wav.c.

Referenced by ogg_vorbis_open(), read_samples(), wav_close(), wav_open(), and wav_write().

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.

Referenced by ogg_vorbis_rewrite(), read_samples(), and write_stream().

FILE * f

char* filename

Definition at line 89 of file file.c.

Referenced by ast_closestream(), ast_filehelper(), 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 [read]

int foffset

Definition at line 62 of file format_wav.c.

struct ast_frame* fr [read]

Definition at line 59 of file format_g723.c.

struct ast_frame fr [read]

unsigned char g726[FRAME_TIME *5]

Definition at line 78 of file format_g726.c.

Referenced by g726_16_open(), g726_24_open(), g726_32_open(), g726_40_open(), and g726_read().

unsigned char g729[20]

Definition at line 63 of file format_g729.c.

Referenced by g729_open(), and g729_read().

unsigned char gsm

Definition at line 70 of file format_gsm.c.

Referenced by gsm_open(), gsm_read(), wav_open(), wav_read(), and wav_write().

unsigned char h263[32768]

Definition at line 61 of file format_h263.c.

Referenced by h263_open(), and h263_read().

unsigned char ilbc[50]

Definition at line 62 of file format_ilbc.c.

Referenced by ilbc_open(), and ilbc_read().

struct timeval last [read]

Definition at line 60 of file format_pcm.c.

Definition at line 97 of file file.c.

Referenced by ast_filehelper(), ast_readaudio_callback(), ast_readvideo_callback(), and vox_open().

unsigned int lastts

Definition at line 57 of file format_h263.c.

Referenced by h263_read().

Definition at line 96 of file file.c.

Referenced by ast_writestream().

int maxlen

Definition at line 64 of file format_wav.c.

Referenced by wav_open(), and wav_read().

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.

Referenced by wav_open(), and wav_read().

struct ast_filestream* next [read]

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

ogg_packet op

Definition at line 65 of file format_ogg_vorbis.c.

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

struct timeval orig [read]

Definition at line 60 of file format_g723.c.

ogg_stream_state os

struct ast_channel * owner [read]

ogg_sync_state oy

Definition at line 62 of file format_ogg_vorbis.c.

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

int rate

char* realfilename

Definition at line 90 of file file.c.

Referenced by ast_closestream(), and ast_writefile().

void * reserved

Definition at line 62 of file format_au.c.

Definition at line 77 of file format_wav_gsm.c.

Referenced by wav_open(), wav_read(), wav_seek(), and 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 [read]

Definition at line 95 of file file.c.

struct ast_trans_pvt* trans [read]

Definition at line 94 of file file.c.

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

vorbis_block vb

vorbis_comment vc

Definition at line 69 of file format_ogg_vorbis.c.

Referenced by ogg_vorbis_close(), ogg_vorbis_open(), and ogg_vorbis_rewrite().

vorbis_dsp_state vd

struct ast_filestream* vfs [read]

Definition at line 92 of file file.c.

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

vorbis_info vi

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.

Referenced by ogg_vorbis_close(), ogg_vorbis_open(), ogg_vorbis_rewrite(), and ogg_vorbis_write().

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 Wed Oct 28 15:49:29 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6