From: Russell Bryant Date: Thu, 17 Jan 2008 23:20:37 +0000 (+0000) Subject: Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec() X-Git-Tag: 1.6.0-beta1~3^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09fdcf61dcfe1a35de5d718cc1f3aea60ebef75;p=thirdparty%2Fasterisk.git Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec() git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99008 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 3b7bc2178b..d9e0183106 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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,