]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Swap byte-order when sending signed linear 43/4843/7
authorSean Bright <sean.bright@gmail.com>
Mon, 30 Jan 2017 15:02:14 +0000 (10:02 -0500)
committerSean Bright <sean.bright@gmail.com>
Wed, 1 Feb 2017 15:35:44 +0000 (10:35 -0500)
commit339c30f2b65b005817b073bc9b7c8ad2e7e3fde9
tree98030630acf1b158000e6442db0631fbd0d837a9
parentea54c0e1feec892674f4614bf4bb1f7f7caf7032
res_rtp_asterisk:  Swap byte-order when sending signed linear

Before Asterisk 13, signed linear was converted into network byte order by a
smoother before being sent over the network. We restore this behavior by
forcing the creation of a smoother when slinear is in use and setting the
appropriate flags so that the byte order conversion is always done.

ASTERISK-24858 #close
Reported-by: Frankie Chin
Change-Id: I868449617d1a7819578f218c8c6b2111ad84f5a9
res/res_rtp_asterisk.c