From d09fdcf61dcfe1a35de5d718cc1f3aea60ebef75 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Thu, 17 Jan 2008 23:20:37 +0000
Subject: [PATCH] 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
---
 main/channel.c | 1 +
 1 file changed, 1 insertion(+)

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,
-- 
GitLab