Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ast_frame Struct Reference

Data structure associated with a single frame of data. More...

#include <frame.h>


Data Fields

int frametype
int subclass
int datalen
int samples
int mallocd
int offset
char * src
void * data
timeval delivery
ast_frameprev
ast_framenext


Detailed Description

Data structure associated with a single frame of data.

Definition at line 69 of file frame.h.


Field Documentation

void* data
 

Pointer to actual data

Definition at line 85 of file frame.h.

Referenced by ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_fr_fdread(), ast_fr_fdwrite(), ast_frame_dump(), ast_frdup(), ast_frfree(), ast_frisolate(), ast_prod(), ast_recvchar(), ast_rtp_read(), ast_smoother_feed(), ast_smoother_read(), ast_waitfordigit_full(), ast_waitstream_full(), and ast_write().

int datalen
 

Length of data

Definition at line 75 of file frame.h.

Referenced by ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_fr_fdread(), ast_fr_fdwrite(), ast_frdup(), ast_frisolate(), ast_read(), ast_rtp_read(), ast_rtp_write(), ast_smoother_feed(), ast_smoother_read(), ast_waitfordigit_full(), and ast_waitstream_full().

struct timeval delivery
 

Global delivery time

Definition at line 87 of file frame.h.

Referenced by ast_frdup(), ast_rtp_read(), ast_smoother_feed(), ast_smoother_read(), and ast_translate().

int frametype
 

Kind of frame

Definition at line 71 of file frame.h.

Referenced by __ast_request_and_dial(), ast_app_getvoice(), ast_channel_bridge(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_fr_fdread(), ast_frame_dump(), ast_frdup(), ast_frisolate(), ast_play_and_prepend(), ast_play_and_record(), ast_queue_frame(), ast_read(), ast_recvchar(), ast_rtp_bridge(), ast_rtp_read(), ast_rtp_write(), ast_smoother_feed(), ast_smoother_read(), ast_waitfordigit(), ast_waitfordigit_full(), ast_waitstream(), ast_waitstream_fr(), ast_waitstream_full(), ast_write(), and ast_writestream().

int mallocd
 

Was the data malloc'd? i.e. should we free it when we discard the frame?

Definition at line 79 of file frame.h.

Referenced by ast_fr_fdread(), ast_frdup(), ast_frfree(), ast_frisolate(), and ast_rtp_read().

struct ast_frame* next
 

Next/Prev for linking stand alone frames

Definition at line 91 of file frame.h.

Referenced by ast_channel_free(), ast_do_masquerade(), ast_frdup(), ast_frfree(), ast_queue_frame(), ast_read(), and ast_translate().

int offset
 

How far into "data" the data really starts

Definition at line 81 of file frame.h.

Referenced by ast_fr_fdread(), ast_frdup(), ast_frfree(), ast_frisolate(), ast_rtp_read(), ast_rtp_write(), ast_smoother_feed(), and ast_smoother_read().

struct ast_frame* prev
 

Next/Prev for linking stand alone frames

Definition at line 89 of file frame.h.

Referenced by ast_do_masquerade(), ast_frdup(), ast_frfree(), and ast_queue_frame().

int samples
 

Number of 8khz samples in this frame

Definition at line 77 of file frame.h.

Referenced by ast_app_getvoice(), ast_frdup(), ast_frisolate(), ast_read(), ast_rtp_read(), ast_smoother_feed(), ast_smoother_read(), ast_stream_fastforward(), ast_stream_rewind(), ast_translate(), and ast_write().

char* src
 

Optional source of frame for debugging

Definition at line 83 of file frame.h.

Referenced by ast_fr_fdread(), ast_frdup(), ast_frfree(), ast_frisolate(), and ast_rtp_read().

int subclass
 

Subclass, frame dependent

Definition at line 73 of file frame.h.

Referenced by __ast_request_and_dial(), ast_app_getvoice(), ast_channel_bridge(), ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_fr_fdread(), ast_frame_dump(), ast_frdup(), ast_frisolate(), ast_play_and_prepend(), ast_play_and_record(), ast_prod(), ast_queue_control(), ast_queue_frame(), ast_read(), ast_recvchar(), ast_rtp_read(), ast_rtp_write(), ast_smoother_feed(), ast_smoother_read(), ast_waitfordigit(), ast_waitfordigit_full(), ast_waitstream(), ast_waitstream_fr(), ast_waitstream_full(), ast_write(), and ast_writestream().


The documentation for this struct was generated from the following file:
Generated on Sat Nov 25 19:10:27 2006 for Asterisk by  doxygen 1.4.2