Skip to content

Instantly share code, notes, and snippets.

@saurabh360
Created February 12, 2014 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saurabh360/783faaccaf702ade0cba to your computer and use it in GitHub Desktop.
Save saurabh360/783faaccaf702ade0cba to your computer and use it in GitHub Desktop.
MonoTouch.AudioToolbox.AudioSessionException: The specified AudioSession.Category can not be used with this audio operation
at MonoTouch.AudioToolbox.AudioSession.SetInt (AudioSessionProperty property, Int32 val) [0x00015] in /Developer/MonoTouch/Source/maccore/src/AudioToolbox/.pmcs-compat.AudioSession.cs:383
at MonoTouch.AudioToolbox.AudioSession.set_RoutingOverride (AudioSessionRoutingOverride value) [0x00000] in /Developer/MonoTouch/Source/maccore/src/AudioToolbox/.pmcs-compat.AudioSession.cs:649
at StreamingAudio.PlayerViewController.PreparePlayback () [0x00022] in /Users/Admin_Mac/Desktop/10 feb/monotouch-samples-master/StreamingAudio/PlayerViewController.cs:111
at StreamingAudio.PlayerViewController.StartPlayback () [0x00002] in /Users/Admin_Mac/Desktop/10 feb/monotouch-samples-master/StreamingAudio/PlayerViewController.cs:91
at StreamingAudio.PlayerViewController.ViewWillAppear (Boolean animated) [0x00053] in /Users/Admin_Mac/Desktop/10 feb/monotouch-samples-master/StreamingAudio/PlayerViewController.cs:56
at at (wrapper managed-to-native) MonoTouch.ObjCRuntime.Messaging:void_objc_msgSend_IntPtr_bool (intptr,intptr,intptr,bool)
at MonoTouch.UIKit.UINavigationController.PushViewController (MonoTouch.UIKit.UIViewController viewController, Boolean animated) [0x00019] in /Developer/MonoTouch/Source/monotouch/src/build/compat/UIKit/.pmcs-compat.UINavigationController.g.cs:182
at StreamingAudio.MainViewController.OpenPlayerView (PlayerOption option) [0x00047] in /Users/Admin_Mac/Desktop/10 feb/monotouch-samples-master/StreamingAudio/MainViewController.cs:45
at StreamingAudio.MainViewController.<ViewDidLoad>m__0 (System.Object sender, System.EventArgs e) [0x00002] in /Users/Admin_Mac/Desktop/10 feb/monotouch-samples-master/StreamingAudio/MainViewController.cs:27
at MonoTouch.UIKit.UIControlEventProxy.Activated () [0x00007] in /Developer/MonoTouch/Source/monotouch/src/UIKit/.pmcs-compat.UIControl.cs:32
at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/.pmcs-compat.UIApplication.cs:38
at StreamingAudio.Application.Main (System.String[] args) [0x00008] in /Users/Admin_Mac/Desktop/10 feb/monotouch-samples-master/StreamingAudio/Main.cs:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment