diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-07 13:16:05 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-07 13:16:05 +0000 |
commit | 0b7f43f7aef8ec5f402981bce78c62f92da57e8e (patch) | |
tree | b45b0e2bdc2f5cddf53c2273a7e4b27cb9736870 /include/asterisk/frame.h | |
parent | fe2183abb895e30f2a10d6dbfbde96eaa6a9b313 (diff) |
Stealing Tilghman's explanation from the -dev list and producing documentation...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47251 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/frame.h')
-rw-r--r-- | include/asterisk/frame.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h index cc3aa5d83..5e02e670d 100644 --- a/include/asterisk/frame.h +++ b/include/asterisk/frame.h @@ -450,6 +450,19 @@ int ast_getformatbyname(const char *name); */ char *ast_codec2str(int codec); +/*! \page ast_smooth +The ast_smoother interface was designed specifically +to take frames of variant sizes and produce frames of a single expected +size, precisely what you want to do. + +The basic interface is: + +- Initialize with ast_smoother_new() +- Queue input frames with ast_smoother_feed() +- Get output frames with ast_smoother_read() +- when you're done, free the structure with ast_smoother_free() +- Also see ast_smoother_test_flag(), ast_smoother_set_flags(), ast_smoother_get_flags(), ast_smoother_reset() +*/ struct ast_smoother; struct ast_format_list *ast_get_format_list_index(int index); |