From cb7f639240098b457b5b02e92f66addd0f35e5a9 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 8 Jul 2015 09:48:34 +0200 Subject: [PATCH] call_tester.c: turn off jitter buffer for fileplayer test also --- tester/call_tester.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tester/call_tester.c b/tester/call_tester.c index d833f72b1..e9846df09 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -2314,6 +2314,9 @@ static void call_with_file_player(void) { /*make sure the record file doesn't already exists, otherwise this test will append new samples to it*/ unlink(recordpath); + // inter-correlation is very sensitive to variable offset when comparing files, so using a fixed jitter + // buffer length should help it a lot. + linphone_core_enable_audio_adaptive_jittcomp(pauline->lc, FALSE); /*caller uses files instead of soundcard in order to avoid mixing soundcard input with file played using call's player*/ linphone_core_use_files(marie->lc,TRUE);