[asterisk-commits] kpfleming: branch 1.8 r353126 - /branches/1.8/main/rtp_engine.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jan 28 08:49:52 CST 2012


Author: kpfleming
Date: Sat Jan 28 08:49:48 2012
New Revision: 353126

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=353126
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.


Modified:
    branches/1.8/main/rtp_engine.c

Modified: branches/1.8/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/rtp_engine.c?view=diff&rev=353126&r1=353125&r2=353126
==============================================================================
--- branches/1.8/main/rtp_engine.c (original)
+++ branches/1.8/main/rtp_engine.c Sat Jan 28 08:49:48 2012
@@ -100,6 +100,7 @@
 	{{1, AST_FORMAT_ADPCM}, "audio", "DVI4", 8000},
 	{{1, AST_FORMAT_SLINEAR}, "audio", "L16", 8000},
 	{{1, AST_FORMAT_SLINEAR16}, "audio", "L16", 16000},
+	{{1, AST_FORMAT_SLINEAR16}, "audio", "L16-256", 16000},
 	{{1, AST_FORMAT_LPC10}, "audio", "LPC", 8000},
 	{{1, AST_FORMAT_G729A}, "audio", "G729", 8000},
 	{{1, AST_FORMAT_G729A}, "audio", "G729A", 8000},




More information about the asterisk-commits mailing list