forked from mirrors/linphone-iphone
Declare multiple-core cpu for iPad
This commit is contained in:
parent
6361bfcba5
commit
cf2fda64c5
1 changed files with 6 additions and 1 deletions
|
|
@ -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]] );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue