aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-17 23:20:37 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-17 23:20:37 +0000
commitca2fd8b4d69cb10c1b7eced843e4a896a1b2a7d9 (patch)
tree51d9d4e2af17c3faa7c3d9825db33496754c5f5c /main
parent00e3ed0886658844b724186619425c31d411332b (diff)
Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99008 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-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,