]> 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)
committerAnthony Minessale <anthm@freeswitch.org>
Sat, 20 Dec 2014 06:25:59 +0000 (00:25 -0600)
commit326289caf976788d745957695b3ef7930a54bfb7
treedaeaace2388688b00cb89a3ceedc473199531390
parentdc8c8cc7b854c9ef754a912dbb8021c5952143ab
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