Thu May 24 14:32:02 2007

Asterisk developer's documentation


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

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

Detailed Description

Data structure associated with a single frame of data.

Definition at line 89 of file frame.h.


Field Documentation

void* data

Pointer to actual data

Definition at line 105 of file frame.h.

int datalen

Length of data

Definition at line 95 of file frame.h.

struct timeval delivery

Global delivery time

Definition at line 107 of file frame.h.

int frametype

Kind of frame

Definition at line 91 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 99 of file frame.h.

struct ast_frame* next

Next/Prev for linking stand alone frames

Definition at line 111 of file frame.h.

int offset

How many bytes exist _before_ "data" that can be used if needed

Definition at line 101 of file frame.h.

struct ast_frame* prev

Next/Prev for linking stand alone frames

Definition at line 109 of file frame.h.

int samples

Number of 8khz samples in this frame

Definition at line 97 of file frame.h.

const char* src

Optional source of frame for debugging

Definition at line 103 of file frame.h.

int subclass

Subclass, frame dependent

Definition at line 93 of file frame.h.


The documentation for this struct was generated from the following file:
Generated on Thu May 24 14:32:02 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.1