Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec()
authorRussell Bryant <russell@russellbryant.com>
Thu, 17 Jan 2008 23:20:37 +0000 (23:20 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 17 Jan 2008 23:20:37 +0000 (23:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99008 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 3b7bc21..d9e0183 100644 (file)
@@ -577,6 +577,7 @@ int ast_best_codec(int fmts)
                /*! G.722 is better then all below, but not as common as the above... so give ulaw and alaw priority */
                AST_FORMAT_G722,
                /*! Okay, well, signed linear is easy to translate into other stuff */
+               AST_FORMAT_SLINEAR16,
                AST_FORMAT_SLINEAR,
                /*! G.726 is standard ADPCM, in RFC3551 packing order */
                AST_FORMAT_G726,