#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
Referenced by ast_translator_free_path().
int dstfmt |
Destination format
Definition at line 45 of file translate.h.
int(* framein)(struct ast_translator_pvt *pvt, struct ast_frame *in) |
Input frame callback
Referenced by ast_translate().
struct ast_frame*(* frameout)(struct ast_translator_pvt *pvt) |
Output frame callback
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
Referenced by ast_translator_build_path().
struct ast_translator* next |
For linking, not to be modified by the translator
Definition at line 60 of file translate.h.
Referenced by ast_unregister_translator().
int srcfmt |
Source format
Definition at line 43 of file translate.h.