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

ast_frame Struct Reference

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

#include <frame.h>

Collaboration diagram for ast_frame:

Collaboration graph
[legend]

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 64 of file frame.h.


Field Documentation

void* data
 

Pointer to actual data

Definition at line 80 of file frame.h.

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

int datalen
 

Length of data

Definition at line 70 of file frame.h.

Referenced by ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_fr_fdwrite(), ast_frdup(), ast_frisolate(), ast_rtp_read(), ast_rtp_write(), and ast_smoother_feed().

struct timeval delivery
 

Global delivery time

Definition at line 82 of file frame.h.

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

int frametype
 

Kind of frame

Definition at line 66 of file frame.h.

Referenced by ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_frame_dump(), ast_frdup(), ast_frisolate(), ast_queue_frame(), ast_read(), ast_rtp_bridge(), ast_rtp_read(), ast_rtp_write(), ast_smoother_feed(), 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 74 of file frame.h.

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

struct ast_frame* next
 

Next/Prev for linking stand alone frames

Definition at line 86 of file frame.h.

Referenced by ast_channel_free(), ast_format_register(), ast_frfree(), ast_queue_frame(), and ast_read().

int offset
 

How far into "data" the data really starts

Definition at line 76 of file frame.h.

Referenced by ast_frfree(), ast_rtp_read(), ast_rtp_write(), and ast_smoother_feed().

struct ast_frame* prev
 

Next/Prev for linking stand alone frames

Definition at line 84 of file frame.h.

Referenced by ast_frfree().

int samples
 

Number of 8khz samples in this frame

Definition at line 72 of file frame.h.

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

char* src
 

Optional source of frame for debugging

Definition at line 78 of file frame.h.

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

int subclass
 

Subclass, frame dependent

Definition at line 68 of file frame.h.

Referenced by ast_dsp_call_progress(), ast_dsp_digitdetect(), ast_dsp_process(), ast_dsp_silence(), ast_frame_dump(), ast_frdup(), ast_frisolate(), ast_prod(), ast_queue_control(), ast_read(), ast_rtp_read(), ast_rtp_write(), ast_smoother_feed(), ast_write(), and ast_writestream().


The documentation for this struct was generated from the following file:
Generated on Sat Jun 12 16:41:54 2004 for Asterisk by doxygen 1.3.7