From 2909718b9859be7b9d907c4f9dc9eb7c137df993 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Thu, 22 Jan 2015 15:20:46 -0600 Subject: [PATCH] [AudioConverterFileConverter] Fixed setting the right category --- AudioConverterFileConverter/AppDelegate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {