diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-04 08:15:41 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-04 08:15:41 +0000 |
commit | f4dbdf8060b875202f7ce1c10aaf6a6931592983 (patch) | |
tree | 3ce9ee451afd2cd5c3d6bc521a0cfb7a5be4de1d /translate.c | |
parent | 1a7ec11a11aad6fa5e12b31cf0691e1aeecf2c81 (diff) |
Doxygen formatting fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31977 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'translate.c')
-rw-r--r-- | translate.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/translate.c b/translate.c index 2db3525ab..7c28e0fb7 100644 --- a/translate.c +++ b/translate.c @@ -67,13 +67,13 @@ struct translator_path { */ static struct translator_path tr_matrix[MAX_FORMAT][MAX_FORMAT]; -/* +/*! \todo * TODO: sample frames for each supported input format. * We build this on the fly, by taking an SLIN frame and using * the existing converter to play with it. */ -/* returns the index of the lowest bit set */ +/*! \brief returns the index of the lowest bit set */ static int powerof(int d) { int x; @@ -146,9 +146,7 @@ static void destroy(struct ast_trans_pvt *pvt) ast_update_use_count(); } -/* - * framein wrapper, deals with plc and bound checks. - */ +/*! \brief framein wrapper, deals with plc and bound checks. */ static int framein(struct ast_trans_pvt *pvt, struct ast_frame *f) { int16_t *dst = (int16_t *)pvt->outbuf; @@ -200,8 +198,7 @@ static int framein(struct ast_trans_pvt *pvt, struct ast_frame *f) return ret; } -/* - * generic frameout routine. +/*! \brief generic frameout routine. * If samples and datalen are 0, take whatever is in pvt * and reset them, otherwise take the values in the caller and * leave alone the pvt values. @@ -251,7 +248,7 @@ void ast_translator_free_path(struct ast_trans_pvt *p) } } -/*! Build a chain of translators based upon the given source and dest formats */ +/*! \brief Build a chain of translators based upon the given source and dest formats */ struct ast_trans_pvt *ast_translator_build_path(int dest, int source) { struct ast_trans_pvt *head = NULL, *tail = NULL; @@ -545,6 +542,7 @@ static char show_trans_usage[] = static struct ast_cli_entry show_trans = { { "show", "translation", NULL }, show_translation, "Display translation matrix", show_trans_usage }; +/*! \brief register codec translator */ int ast_register_translator(struct ast_translator *t, void *module) { static int added_cli = 0; |