summaryrefslogtreecommitdiff
path: root/main/channel.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-01-17 23:20:37 +0000
committerRussell Bryant <russell@russellbryant.com>2008-01-17 23:20:37 +0000
commitd09fdcf61dcfe1a35de5d718cc1f3aea60ebef75 (patch)
tree51d9d4e2af17c3faa7c3d9825db33496754c5f5c /main/channel.c
parent2a91da66138d909c6cd379634cca989bbfe7ab46 (diff)
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
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c
index 3b7bc2178..d9e018310 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,