]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 257713 via svnmerge from
authorDwayne M. Hubbard <dwayne.hubbard@gmail.com>
Fri, 16 Apr 2010 21:32:31 +0000 (21:32 +0000)
committerDwayne M. Hubbard <dwayne.hubbard@gmail.com>
Fri, 16 Apr 2010 21:32:31 +0000 (21:32 +0000)
commit2133abae5b2008ccbe6209ecb00af47deb246d0f
treeba5e3c5110e36d56ef7726c7bf05da9d02e75adf
parente6524551e03040042a28ec3ed8ea65f73e561a3e
Merged revisions 257713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r257713 | dhubbard | 2010-04-16 16:22:30 -0500 (Fri, 16 Apr 2010) | 28 lines

  Merged revisions 257686 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r257686 | dhubbard | 2010-04-16 16:15:43 -0500 (Fri, 16 Apr 2010) | 21 lines

    Make the mixmonitor thread process audio frames faster

    Mantis issue 17078 reports MixMonitor recordings have shorter durations than
    the call duration.  This was because the mixmonitor thread was not processing
    frames from the audiohook fast enough.  The mixmonitor thread would slowly fall
    behind the most recent audio frame and when the channel hangs up, the mixmonitor
    thread would exit without processing the same number of frames as the channel;
    leaving the mixmonitor recording shorter than actual call duration.

    This revision fixes this issue by moving the ast_audiohook_trigger_wait() and
    the subsequent audiohook.status check into the block where the
    ast_audiohook_read_frame() function returns NULL.

    (closes issue #17078)
    Reported by: geoff2010
    Patches:
          dw-M17078.patch uploaded by dhubbard (license 733)
    Tested by: dhubbard, geoff2010

    Review: https://reviewboard.asterisk.org/r/611/
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@257739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_mixmonitor.c