]> git.ipfire.org Git - thirdparty/asterisk.git/commit
translate.c: Take sampling rate into account when checking codec's buffer size
authorJean Aunis <jean.aunis@prescom.fr>
Wed, 21 Apr 2021 11:42:32 +0000 (13:42 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 28 Apr 2021 21:34:19 +0000 (16:34 -0500)
commit55279bfd9c16146707dc23edfc2c385dfd322c11
treed535e074d8124e93a2321eef806130b87129ee27
parent531eb65cf307c1852d7e27da2b2b8daedde488e9
translate.c: Take sampling rate into account when checking codec's buffer size

Up/down sampling changes the number of samples produced by a translation.
This must be taken into account when checking the codec's buffer size.

ASTERISK-29328

Change-Id: I9aebe2f8788e00321a7f5c47aa97c617f39e9055
main/translate.c