[asterisk-commits] russell: trunk r99008 - /trunk/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 17 17:20:37 CST 2008


Author: russell
Date: Thu Jan 17 17:20:37 2008
New Revision: 99008

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99008
Log:
Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec()

Modified:
    trunk/main/channel.c

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=99008&r1=99007&r2=99008
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Thu Jan 17 17:20:37 2008
@@ -577,6 +577,7 @@
 		/*! 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,




More information about the asterisk-commits mailing list