[asterisk-dev] downsampling slinear16 to ulaw (or alaw or g729)

Kevin P. Fleming kpfleming at digium.com
Mon Aug 30 10:02:46 CDT 2010


On 08/30/2010 09:39 AM, Paul Albrecht wrote:

> I have a question about asterisk transcoding from wide slinear to ulaw
> (or alaw or g729). Specifically, the result I get when I translate from
> AST_FORMAT_SLINEAR16 to AST_FORMAT_ULAW is truncated, that is, I don't
> get a 160 samples in the output frame. Is this a bug or should I have
> expected the translator to truncate the result?

How many samples were in the input frame? Is there a smoother involved?

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list