Skip to content

Commit

Permalink
TODO : deal with Attempting to JIT compile method
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Jul 25, 2020
1 parent 3dbaa65 commit 2cdc870
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
18 changes: 10 additions & 8 deletions osu.Framework.Microphone.Tests.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>ppy.osu-Framework-Microphone-Tests-iOS</string>
<key>CFBundleName</key>
<string>osu.Framework.Tests.iOS</string>
<key>CFBundleIdentifier</key>
<string>ppy.osu-Framework-Tests-iOS</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
Expand All @@ -14,6 +14,10 @@
<true/>
<key>MinimumOSVersion</key>
<string>11.0</string>
<key>NSMicrophoneUsageDescription</key>
<string>Ask for microphone permission</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand All @@ -25,6 +29,10 @@
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<true/>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
Expand All @@ -34,11 +42,5 @@
</array>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>UIStatusBarHidden</key>
<true/>
<key>UIRequiresFullScreen</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>
6 changes: 6 additions & 0 deletions osu.Framework.Microphone.Tests.iOS/Linker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
<assembly fullname="osu.Framework.iOS">
<type fullname="*" />
</assembly>
<assembly fullname="osu.Framework.Microphone">
<type fullname="*" />
</assembly>
<assembly fullname="osu.Framework.Microphone.iOS">
<type fullname="*" />
</assembly>
<assembly fullname="osu.Framework.Microphone.Tests">
<type fullname="*" />
</assembly>
Expand Down
4 changes: 2 additions & 2 deletions osu.Framework.Microphone.iOS/Input/IOSMicrophoneHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public override bool Initialize(GameHost host)

session.RequestRecordPermission((granted) =>
{
Logger.Log($"Audio Permission: {granted}", LoggingTarget.Information, LogLevel.Verbose);
Logger.Log($"Audio Permission: {granted}", LoggingTarget.Information);

if (granted)
{
Expand All @@ -38,7 +38,7 @@ public override bool Initialize(GameHost host)
else
{
success = base.Initialize(host);
Logger.Log($"Microphone get permission status : {success}", LoggingTarget.Information, LogLevel.Verbose);
Logger.Log($"Microphone get permission status : {success}", LoggingTarget.Information);
}
}
else
Expand Down

0 comments on commit 2cdc870

Please sign in to comment.