[asterisk-bugs] [JIRA] (ASTERISK-23735) Transcoding makes bad choice in high-rate translations

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue May 20 09:57:44 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-23735:
------------------------------------

    Assignee: Richard Kenner
      Status: Waiting for Feedback  (was: Triage)

Richard would you want to attach your patch under license so that other developers can check it out?

[Code Review process|https://wiki.asterisk.org/wiki/display/AST/Code+Review]

> Transcoding makes bad choice in high-rate translations
> ------------------------------------------------------
>
>                 Key: ASTERISK-23735
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23735
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Codecs/General
>    Affects Versions: 12.2.0
>            Reporter: Richard Kenner
>            Assignee: Richard Kenner
>
> In main/translate.c, generate_table_costs considers any upsample equivalent if the slin in/out profile is the same. But that's wrong. The cost should be adjusted depending on how far apart the rate are. For example siren14 to slin32 should be via slin16, not slin. I modified that table to just add to the cost the difference in the rates and that fixes this problem, but I'm not sure enough of the scaling to know if that's the right amount to adjust it by.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list