]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Block on frameout if the hardware has enough samples to complete a frame.
authorJonathan Rose <jrose@digium.com>
Wed, 9 May 2012 19:12:32 +0000 (19:12 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 9 May 2012 19:12:32 +0000 (19:12 +0000)
commit2ed1c4ed0f110b78f2f149b5787726025d5746b4
tree6584838f78b840bfa80997dc1a040c0f4af4934c
parent2615ba62f72dba134e7911aa8cd2a5d8803196b5
Block on frameout if the hardware has enough samples to complete a frame.

Fixes some problems with skipping audio in elaborate scenarios involving
multiple codecs by making codec_dahdi operate in a more synchronous
fashion similar to codec_g729. This change also fixes the use of file
conversion tools from Asterisk's CLI. This change may cause the thread
responsible for transcoding audio to block briefly (Shaun Ruffell describes
this as 'several milliseconds') while waiting for the hardware transcoder.

(closes issue ASTERISK-19643)
reported by: Shaun Ruffell
Patches:
0001-codec_dahdi-Block-on-frameout-the-hardware-has-enoug.patch
uploaded by Shaun Ruffell (license 5417)
........

Merged revisions 365989 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@365990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
codecs/codec_dahdi.c