]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 246899 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Tue, 16 Feb 2010 17:08:53 +0000 (17:08 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 16 Feb 2010 17:08:53 +0000 (17:08 +0000)
commit3ade195b8a74feffa2d7fbf88f27de01c181ccda
tree02eabd83411184e4e199550b0d0aa42d1bd3870b
parentcd628d626c33d02330f2d46c53790bb4aaa3f5ca
Merged revisions 246899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r246899 | dvossel | 2010-02-16 11:07:41 -0600 (Tue, 16 Feb 2010) | 16 lines

  fixes sample rate conversion issue with Monitor application

  When using ast_seekstream with the read/write streams of a monitor,
  the number of samples we are seeking must be of the same rate as the
  stream or the jump calculation will be incorrect.  This patch adds logic
  to correctly convert the number of samples to jump to the sample rate
  the read/write stream is using.

  For example, if the call is G722 (16khz) and the read/write stream is
  recording a 8khz wav, seeking 320 samples of 16khz audio is not the
  same as seeking 320 samples of 8khz audio when performing the ast_seekstream
  on the stream.

  ABE-2044
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@246900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c