#include <translate.h>
Collaboration diagram for ast_translator:
Data Fields | |
int | cost |
void(* | destroy )(struct ast_translator_pvt *pvt) |
int | dstfmt |
int(* | framein )(struct ast_translator_pvt *pvt, struct ast_frame *in) |
ast_frame *(* | frameout )(struct ast_translator_pvt *pvt) |
char | name [80] |
ast_translator_pvt *(* | newpvt )(void) |
ast_translator * | next |
ast_frame *(* | sample )(void) |
int | srcfmt |
Definition at line 39 of file translate.h.
int cost |
Cost in milliseconds for encoding/decoding 1 second of sound
Definition at line 58 of file translate.h.
void(* destroy)(struct ast_translator_pvt *pvt) |
Destroy translator callback
int dstfmt |
Destination format
Definition at line 45 of file translate.h.
char name[80] |
Name of translator
Definition at line 41 of file translate.h.
struct ast_translator_pvt*(* newpvt)(void) |
Private data associated with the translator
struct ast_translator* next |
For linking, not to be modified by the translator
Definition at line 60 of file translate.h.
int srcfmt |
Source format
Definition at line 43 of file translate.h.