|
@@ -33,6 +33,7 @@
|
|
#import "gl_view.h"
|
|
#import "gl_view.h"
|
|
#include "main/main.h"
|
|
#include "main/main.h"
|
|
#include "os_iphone.h"
|
|
#include "os_iphone.h"
|
|
|
|
+#include "audio_driver_iphone.h"
|
|
|
|
|
|
#ifdef MODULE_FACEBOOKSCORER_IOS_ENABLED
|
|
#ifdef MODULE_FACEBOOKSCORER_IOS_ENABLED
|
|
#include "modules/FacebookScorer_ios/FacebookScorer.h"
|
|
#include "modules/FacebookScorer_ios/FacebookScorer.h"
|
|
@@ -726,6 +727,10 @@ static int frame_count = 0;
|
|
if (OSIPhone::get_singleton()->native_video_is_playing()) {
|
|
if (OSIPhone::get_singleton()->native_video_is_playing()) {
|
|
OSIPhone::get_singleton()->native_video_unpause();
|
|
OSIPhone::get_singleton()->native_video_unpause();
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ // Fixed audio can not resume if it is interrupted cause by an incoming phone call
|
|
|
|
+ if(AudioDriverIphone::get_singleton() != NULL)
|
|
|
|
+ AudioDriverIphone::get_singleton()->start();
|
|
}
|
|
}
|
|
|
|
|
|
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
|
|
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
|