Fri Feb 10 06:37:46 2012
Asterisk developer's documentation
Main Page
Related Pages
Modules
Data Structures
Files
Directories
Examples
The AST Frame Smoother
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()
Generated on Fri Feb 10 06:37:46 2012 for Asterisk - The Open Source Telephony Project by
1.5.6