         case AudioProcessing = "AVAudioSessionCategoryAudioProcessing"
         case MultiRoute = "AVAudioSessionCategoryMultiRoute"
     }
-
+    
     /// Enum of available buffer lengths
     /// from Shortest: 2 power 5 samples (32 samples = 0.7 ms @ 44100 kz)
     /// to Longest: 2 power 12 samples (4096 samples = 92.9 ms @ 44100 Hz)

            print ("AKAsettings Error: \(error))")
            throw error
        }

        
        // FOR DEBUG !
        print ("AKSettings: asked for: \(category.rawValue)")
        print ("AKSettings: Session.category is set to: \(session.category)")

        if options != nil {
            print ("AKSettings: asked for options: \(options!)")
            print ("AKSettings: Session.category is set to: \(session.categoryOptions)")
        }
     }
}




/// Global settings for AudioKit
@objc public class AKSettings: NSObject {
    
    /// Enum of available AVAudioSession Categories
    public enum SessionCategory: String {
        case Ambient = "AVAudioSessionCategoryAmbient"
