]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-7083 #resolve #comment this should do it. The problem is linked to side-effects...
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 20 Dec 2014 06:25:59 +0000 (00:25 -0600)
committerKen Rice <krice@freeswitch.org>
Wed, 24 Dec 2014 16:40:07 +0000 (10:40 -0600)
commitb94eb0f7e26e31dd62d5cb49758489a4b47b03e9
tree2761cdd35330f7f7975f66302a1daca0d82a2cc2
parent41b97031d7616494edcc303fa33af68f27be7b2f
FS-7083 #resolve #comment this should do it.  The problem is linked to side-effects from the read thread being delayed by writing to the file handle.  It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more.  This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal.
src/switch_core_media_bug.c
src/switch_ivr_async.c
src/switch_time.c