Move strings to InfoPlist.strings, change AVAudioSession category
Change AVAudioSession category to AVAudioSessionCategoryPlayAndRecord
This commit is contained in:
1 parent
9fb19fa211
commit
4e2a62d24b
3 files changed
+5
-3
No files matched your search
+2
-2
@@ -111,9 +111,9 @@
|
||||
<string>_altserver._tcp</string>
|
||||
</array>
|
||||
<key>NSLocalNetworkUsageDescription</key>
|
||||
<string>PojavLauncher uses the local network to find and communicate with AltServer and LAN servers.</string>
|
||||
<string>NSLocalNetworkUsageDescription</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>PojavLauncher uses the microphone to enable support for voice chat mods.</string>
|
||||
<string>NSMicrophoneUsageDescription</string>
|
||||
<key>UIApplicationSceneManifest</key>
|
||||
<dict>
|
||||
<key>UIApplicationSupportsMultipleScenes</key>
|
||||
|
||||
@@ -289,7 +289,7 @@ int launchJVM(NSString *username, id launchTarget, int width, int height, int mi
|
||||
|
||||
// TODO: Add preference toggle
|
||||
NSError *sessionError = nil;
|
||||
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:&sessionError];
|
||||
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionMixWithOthers error:&sessionError];
|
||||
[[AVAudioSession sharedInstance] setActive:YES error:&sessionError];
|
||||
|
||||
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
/* Localized versions of Info.plist keys */
|
||||
"NSLocalNetworkUsageDescription" = "PojavLauncher uses the local network to find and communicate with AltServer and LAN servers.";
|
||||
"NSMicrophoneUsageDescription" = "PojavLauncher uses the microphone to enable support for voice chat mods.";
|
||||
Reference in new issue
Block a user