]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Swap byte-order when sending signed linear 53/4853/2
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:39:31 +0000 (10:39 -0500)
commit3273ea7384071b72288c7685cf635cace30b1089
tree33857aa3927d89d85e1a3517496cd2e4552702f6
parent9882639f371d8cdeed868837bf026b0371e2af0a
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