From bee22b84f2a986a151ef636e02751fae47999cc4 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 20 Mar 2015 15:40:03 +0100 Subject: [PATCH] Disable opus on Windows Phone 8 devices with a single CPU. --- coreapi/linphonecore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 72892b3d1..6b08cc610 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1569,7 +1569,7 @@ static void linphone_core_register_default_codecs(LinphoneCore *lc){ const char *aac_fmtp162248, *aac_fmtp3244; bool_t opus_enabled=TRUE; /*default enabled audio codecs, in order of preference*/ -#ifdef __arm__ +#if defined(__arm__) || defined(_M_ARM) /*hack for opus, that needs to be disabed by default on ARM single processor, otherwise there is no cpu left for video processing*/ if (ms_get_cpu_count()==1) opus_enabled=FALSE; #endif