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
struct timeval delivery
struct ast_frameprev
struct ast_framenext

Detailed Description

Data structure associated with a single frame of data.

Definition at line 36 of file frame.h.


Field Documentation

int frametype

Kind of frame

Definition at line 38 of file frame.h.

int subclass

Subclass, frame dependent

Definition at line 40 of file frame.h.

int datalen

Length of data

Definition at line 42 of file frame.h.

int samples

Number of 8khz samples in this frame

Definition at line 44 of file frame.h.

int mallocd

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

Definition at line 46 of file frame.h.

int offset

How far into "data" the data really starts

Definition at line 48 of file frame.h.

char* src

Optional source of frame for debugging

Definition at line 50 of file frame.h.

void* data

Pointer to actual data

Definition at line 52 of file frame.h.

struct timeval delivery [read]

Global delivery time

Definition at line 54 of file frame.h.

struct ast_frame* prev [read]

Next/Prev for linking stand alone frames

Definition at line 56 of file frame.h.

struct ast_frame* next [read]

Next/Prev for linking stand alone frames

Definition at line 58 of file frame.h.


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

Generated on Wed Oct 28 17:01:05 2009 for Asterisk by  doxygen 1.5.6