Declare multiple-core cpu for iPad

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2011-12-15 14:41:43 +01:00
parent 6361bfcba5
commit cf2fda64c5

View file

@ -810,7 +810,12 @@ void networkReachabilityCallBack(SCNetworkReachabilityRef target, SCNetworkReach
//go directly to bg mode
[self enterBackgroundMode];
}
if ([LinphoneManager runningOnIpad])
ms_set_cpu_count(2);
else
ms_set_cpu_count(1);
ms_warning("Linphone [%s] started on [%s]"
,linphone_core_get_version()
,[[UIDevice currentDevice].model cStringUsingEncoding:[NSString defaultCStringEncoding]] );