]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Correct timestamp calculations when RTP sample rates over 8kHz are used.
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 19 Oct 2009 23:44:07 +0000 (23:44 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 19 Oct 2009 23:44:07 +0000 (23:44 +0000)
commitdd9837bba0434805e8bc4c388585923931f95b19
tree7a1e6a1ae98e1100ed33aa60038a73d7a572fb37
parent926a033bf91816dfb1daf7776915eddffd39640c
Correct timestamp calculations when RTP sample rates over 8kHz are used.

While testing some endpoints that support 16kHz and 32kHz sample rates, some
log messages were generated due to calc_rxstamp() computing timestamps in a way
that produced odd results, so this patch sanitizes the result of the
computations.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@224670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/rtp.c