[asterisk-bugs] [Asterisk 0018151]: SLIN/SLIN16 translation path is not optimal

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 29 08:31:09 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18151 
====================================================================== 
Reported By:                andrew
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18151
Category:                   Core/CodecInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 292050 
Request Review:              
====================================================================== 
Date Submitted:             2010-10-17 20:28 CDT
Last Modified:              2010-10-29 08:31 CDT
====================================================================== 
Summary:                    SLIN/SLIN16 translation path is not optimal
Description: 
Without libresample installed asterisk can not convert directly between
SLIN and SLIN16, so it uses G.722 as the only path. It's bad, but better
than nothing.

With libresample installed asterisk should use it to directly convert
between SLIN and SLIN16 as that would be the path with the least loss. But,
most of the time asterisk still uses G.722 to translate.

It would be best to include some version of libresample with asterisk 1.8
as there is now a common need for SLIN/SLIN16 conversion.

I don't know if the "cost" is calculated wrong or if there is a need to
pick the best path, even at a higher cost, to reduce loss.

Related to bugs https://issues.asterisk.org/view.php?id=16841
https://issues.asterisk.org/view.php?id=17934

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016841 Codec translation path builder does not...
related to          0017934 [patch] downsampling slinear16 to sline...
====================================================================== 

---------------------------------------------------------------------- 
 (0128459) lmadsen (administrator) - 2010-10-29 08:31
 https://issues.asterisk.org/view.php?id=18151#c128459 
---------------------------------------------------------------------- 
The translation is also done programmaticly so perhaps there isn't a real
different cost associated with the translations path?

However I'm going to acknowledge this issue and have someone who is better
learned about this to comment. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-29 08:31 lmadsen        Note Added: 0128459                          
======================================================================




More information about the asterisk-bugs mailing list