[asterisk-bugs] [Asterisk 0017934]: [patch] downsampling slinear16 to slinear (or ulaw or alaw or g729) results in truncation

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 31 14:25:15 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17934 
====================================================================== 
Reported By:                palbrecht
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17934
Category:                   Codecs/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.11 
JIRA:                       SWP-2136 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-31 13:33 CDT
Last Modified:              2010-08-31 14:25 CDT
====================================================================== 
Summary:                    [patch] downsampling slinear16 to slinear (or ulaw
or alaw or g729) results in truncation
Description: 
When I translate from AST_FORMAT_SLINEAR16 to AST_FORMAT_SLINEAR the output
frame is truncated, specifically, instead of 160 samples I get 137 samples.
The result is the same for ulaw and alaw. For g729, the output is truncated
to 80 samples.
====================================================================== 

---------------------------------------------------------------------- 
 (0126491) russell (administrator) - 2010-08-31 14:25
 https://issues.asterisk.org/view.php?id=17934#c126491 
---------------------------------------------------------------------- 
Also, just as a note, in my case, I have codec_resample loaded and it's
using that as the translation path.  Results may be different if that
module is not loaded, and translation goes through codec_g722. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-31 14:25 russell        Note Added: 0126491                          
======================================================================




More information about the asterisk-bugs mailing list