Asterisk - The Open Source Telephony Project GIT-master-a63eec2
Loading...
Searching...
No Matches
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>

Collaboration diagram for ast_filestream:
Collaboration graph
[legend]

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

◆ _private

void* _private

◆ buf

char* buf

◆ f

FILE* f

Definition at line 117 of file mod_format.h.

Referenced by ast_closestream(), ast_readfile(), ast_streamfile(), ast_writefile(), au_seek(), au_tell(), au_trunc(), check_header(), filehelper(), filestream_destructor(), fn_wrapper(), g719read(), g719seek(), g719tell(), g719trunc(), g719write(), g723_read(), g723_trunc(), g723_write(), g726_read(), g726_seek(), g726_tell(), g726_write(), g729_read(), g729_seek(), g729_tell(), g729_trunc(), g729_write(), generic_read(), 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(), mp3_queue(), mp3_seek(), mp3_squeue(), ogg_speex_open(), ogg_vorbis_close(), ogg_vorbis_open(), ogg_vorbis_rewrite(), ogg_vorbis_write(), pcm_read(), pcm_seek(), pcm_tell(), pcm_trunc(), pcm_write(), read_packet(), recordthread(), siren14read(), siren14seek(), siren14tell(), siren14trunc(), siren14write(), siren7read(), siren7seek(), siren7tell(), siren7trunc(), siren7write(), slinear_seek(), slinear_tell(), slinear_trunc(), slinear_write(), update_header(), vox_read(), vox_seek(), vox_tell(), vox_trunc(), vox_write(), waitstream_control(), wav_close(), wav_close(), wav_open(), wav_open(), wav_read(), wav_read(), wav_rewrite(), wav_rewrite(), wav_seek(), wav_seek(), wav_tell(), wav_tell(), wav_trunc(), wav_trunc(), wav_write(), wav_write(), and write_header().

◆ filename

char* filename

◆ flags

int flags

Definition at line 104 of file mod_format.h.

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

◆ fmt

struct ast_format_def* fmt

◆ fr

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 g719read(), g722_read(), g723_read(), g726_read(), g729_read(), generic_read(), get_filestream(), gsm_read(), h263_read(), h264_read(), ilbc_read(), mp3_read(), ogg_speex_read(), ogg_vorbis_read(), pcm_read(), siren14read(), siren7read(), vox_read(), wav_read(), and wav_read().

◆ lasttimeout

int lasttimeout

Definition at line 115 of file mod_format.h.

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

◆ lastwriteformat

struct ast_format* lastwriteformat

Definition at line 114 of file mod_format.h.

Referenced by ast_writestream().

◆ mode

mode_t mode

◆ open_filename

char* open_filename

Definition at line 106 of file mod_format.h.

◆ orig_chan_name

const char* orig_chan_name

Definition at line 125 of file mod_format.h.

Referenced by ast_readaudio_callback(), ast_streamfile(), and waitstream_core().

◆ owner

struct ast_channel* owner

◆ realfilename

char* realfilename

Definition at line 108 of file mod_format.h.

Referenced by ast_writefile().

◆ tr

struct ast_translator_pvt* tr

Definition at line 113 of file mod_format.h.

◆ trans

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(), ast_writestream(), and filehelper().

◆ vfs

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(), handle_getoption(), and handle_streamfile().

◆ write_buffer

char* write_buffer

Definition at line 126 of file mod_format.h.

Referenced by ast_writefile().


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