Wed Aug 18 22:34:35 2010
Asterisk developer's documentation
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:
Generated on Wed Aug 18 22:34:35 2010 for Asterisk - the Open Source PBX by
1.4.7