From 505c9104b2eae56f69cf68320ed17b23c6680e92 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 7 Jul 2015 16:15:06 +0200 Subject: [PATCH] call_tester.c: fix disable cross correlation on ios --- tester/call_tester.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/call_tester.c b/tester/call_tester.c index 9c11ab5b5..e2a4894c3 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -4174,7 +4174,7 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra if (clock_rate!=48000) { ms_warning("Similarity checking not implemented for files not having the same sampling rate"); }else{ -#if !defined(__arm__) && !defined(__arm64__) && !defined(__ios__) && !defined(ANDROID) +#if !defined(__arm__) && !defined(__arm64__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(ANDROID) double similar; const double threshold = .7f; BC_ASSERT_EQUAL(ms_audio_diff(stereo_file,recordpath,&similar,audio_cmp_max_shift,NULL,NULL), 0, int, "%d");