]> git.ipfire.org Git - thirdparty/asterisk.git/commit
When ending a recording with silence detection, remember to reduce the duration.
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Mar 2009 23:09:01 +0000 (23:09 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Mar 2009 23:09:01 +0000 (23:09 +0000)
commitb705454875aed1fbf2e550d95dbeaed35468ea8b
tree598e8d4c17918fd80a0cdb906468ec895dc17bb7
parent6706e0be242085d1041e17865ef1c17d14c04831
When ending a recording with silence detection, remember to reduce the duration.
The end of the recording is correspondingly trimmed, but the duration was not
trimmed by the number of seconds trimmed, so the saved duration was necessarily
longer than the actual soundfile duration.
(closes issue #14406)
 Reported by: sasargen
 Patches:
       20090226__bug14406.diff.txt uploaded by tilghman (license 14)
 Tested by: sasargen

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