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

Paul Albrecht albrecht at glccom.com
Tue Aug 31 11:55:01 CDT 2010


On Mon, 2010-08-30 at 21:04 -0500, Russell Bryant wrote:
> ----- Original Message -----
> > On Mon, 2010-08-30 at 15:27 -0500, Russell Bryant wrote:
> > >
> > > On Mon, 2010-08-30 at 15:14 -0500, Paul Albrecht wrote:
> > > > Fortunately, it's not difficult to replicate the problem. Simply
> > > > craft a
> > > > linear frame with all the samples set to zero, send it through the
> > > > translator, then verify the result. Beyond that, I don't have any
> > > > insight into what's causing the problem.
> > >
> > > Feel free to open a bug report with sample code that replicates the
> > > problem - issues.asterisk.org.
> > >
> > 
> > As the problem isn't really user visible--for example, I haven't seen
> > any problems with audio transcoding ulaw to g722 in my application--I
> > think it makes more sense to discuss the issue on the asterisk-dev
> > list.
> 
> I guess I was under the impression that the discussion had already resulted in identifying that there appears to be a bug here.  The next step would be to log it in the issue tracker to make sure that it doesn't get lost, and is eventually fixed.  I don't mean to cut off any discussion there is to be had.
> 

Ignore my previous post ... after I did some more testing the problem
started again. What's strange is that it worked once after I recompiled
and then the truncation occured for all subsequent runs of my test
program. I'll submit a bug report this afternoon.

> --
> Russell Bryant
> Digium, Inc.  |  Engineering Manager, Open Source Software
> 445 Jan Davis Drive NW   -    Huntsville, AL 35806  -  USA
> jabber: rbryant at digium.com    -=-    skype: russell-bryant
> www.digium.com -=- www.asterisk.org -=- blogs.asterisk.org
> 
-- 
Paul Albrecht




More information about the asterisk-dev mailing list