Simplify this code with a suggestion from Luigi on the asterisk-dev list.
authorRussell Bryant <russell@russellbryant.com>
Fri, 11 Jan 2008 00:12:22 +0000 (00:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 11 Jan 2008 00:12:22 +0000 (00:12 +0000)
commit7bb6547a71168739c91ee9f75ae480fe168d393b
tree425bf18fc22c443cf0d0e59f9089508dcd291cfc
parentc88f243d8d6ca80f98cd36fd6c0ff17529766af4
Simplify this code with a suggestion from Luigi on the asterisk-dev list.
Instead of using is16kHz(), implement a format_rate() function.

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