[svn-commits] kpfleming: branch 10 r353127 - in /branches/10: ./ main/rtp_engine.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Jan 28 08:51:31 CST 2012


Author: kpfleming
Date: Sat Jan 28 08:51:29 2012
New Revision: 353127

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=353127
Log:
Add 'L16-256' MIME subtype alias for slin16.

Asterisk has supported the 'L16' MIME subtype for 16kHz signed linear (PCM)
audio for quite some time, but some endpoints refer to it as 'L16-256'. This
commit adds this as an alias for the existing format.
........

Merged revisions 353126 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/main/rtp_engine.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/rtp_engine.c?view=diff&rev=353127&r1=353126&r2=353127
==============================================================================
--- branches/10/main/rtp_engine.c (original)
+++ branches/10/main/rtp_engine.c Sat Jan 28 08:51:29 2012
@@ -1998,6 +1998,7 @@
 	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_ADPCM, 0), 0, "audio", "DVI4", 8000);
 	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_SLINEAR, 0), 0, "audio", "L16", 8000);
 	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_SLINEAR16, 0), 0, "audio", "L16", 16000);
+	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_SLINEAR16, 0), 0, "audio", "L16-256", 16000);
 	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_LPC10, 0), 0, "audio", "LPC", 8000);
 	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_G729A, 0), 0, "audio", "G729", 8000);
 	set_next_mime_type(ast_format_set(&tmpfmt, AST_FORMAT_G729A, 0), 0, "audio", "G729A", 8000);




More information about the svn-commits mailing list