diff --git a/AudioConverterFileConverter/AppDelegate.cs b/AudioConverterFileConverter/AppDelegate.cs index 45600c88..e66304be 100644 --- a/AudioConverterFileConverter/AppDelegate.cs +++ b/AudioConverterFileConverter/AppDelegate.cs @@ -99,7 +99,7 @@ namespace AudioConverterFileConverter // our default category -- we change this for conversion and playback appropriately try { - session.SetCategory(new NSString("AudioSessionCategory.SoloAmbientSound")); + session.SetCategory (AVAudioSessionCategory.SoloAmbient); } catch {