]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Swap byte-order when sending signed linear 54/4854/4
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:42:42 +0000 (10:42 -0500)
commit7a16524a83f5955624151d69bf1f9fe2b2211a9a
tree37ea9aee94fd138a9d76d061862a3606638f0695
parentb814343538545f5b9005d3c32c953d66b7967e03
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