From 0cc80f7f17e96258ecfb0d27bc280aeebb526e22 Mon Sep 17 00:00:00 2001 From: michael kirzinger Date: Tue, 27 Aug 2019 17:19:11 -0400 Subject: [PATCH] Use NSString* instead of AVAudioSessionCategory [CODEREVIEW] [at]peter.sauerbrei #ROBOMERGE-SOURCE: CL 8293583 via CL 8293585 via CL 8353679 #ROBOMERGE-BOT: (v401-8057353) [CL 8353872 by michael kirzinger in Main branch] --- .../Runtime/ApplicationCore/Private/IOS/IOSAppDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/Source/Runtime/ApplicationCore/Private/IOS/IOSAppDelegate.cpp b/Engine/Source/Runtime/ApplicationCore/Private/IOS/IOSAppDelegate.cpp index 3109d2f941eb..719be7923893 100644 --- a/Engine/Source/Runtime/ApplicationCore/Private/IOS/IOSAppDelegate.cpp +++ b/Engine/Source/Runtime/ApplicationCore/Private/IOS/IOSAppDelegate.cpp @@ -617,7 +617,7 @@ static IOSAppDelegate* CachedDelegate = nil; self.bAudioActive = bActive; // get the category and settings to use - AVAudioSessionCategory Category = [self IsFeatureActive:EAudioFeature::DoNotMixWithOthers] ? AVAudioSessionCategorySoloAmbient : AVAudioSessionCategoryAmbient; + NSString* Category = [self IsFeatureActive:EAudioFeature::DoNotMixWithOthers] ? AVAudioSessionCategorySoloAmbient : AVAudioSessionCategoryAmbient; NSString* Mode = AVAudioSessionModeDefault; AVAudioSessionCategoryOptions Options = 0; if (self.bAudioActive || [self IsBackgroundAudioPlaying] || [self IsFeatureActive:EAudioFeature::BackgroundAudio])