]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Second attempt to get optimal translation paths when codec_resample is used.
authorMark Michelson <mmichelson@digium.com>
Fri, 2 Mar 2012 00:20:04 +0000 (00:20 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 2 Mar 2012 00:20:04 +0000 (00:20 +0000)
commit496d1009ddc3e59fbfb00f28cb2bfb1157aca822
tree970f2346fd9fa4353a232fb630db58389c415ff2
parent8417ceb751f25ab059031afd9a9111aa0b26ca3c
Second attempt to get optimal translation paths when codec_resample is used.

This borrows code heavily from changes made in translation code in Asterisk 10.
This uses the quality and sample rate change of translation in order to pick
paths rather than the computational cost of translations. Computational cost
is used solely in determining if a single translation step from a specific
translator is better than the same translation step provided by a different
translator.

(closes issue ASTERISK-16821)
reported by Andrew Lindh

Review: https://reviewboard.asterisk.org/r/1772

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@357760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/translate.c