         return nil
     }
 
-        /// Change the preferred input device, giving it one of the names from the list of available inputs.
+    /// Change the preferred input device, giving it one of the names from the list of available inputs.
     @objc public static func setInputDevice(_ input: AKDevice) throws {
         #if os(macOS)
             try AKTry {

        }
    }

    static internal(set) var _engine = AVAudioEngine()

    /// Reference to singleton MIDI

    #if !os(tvOS)
    public static let midi = AKMIDI()
    #endif

    @objc static var finalMixer = AKMixer()

    // MARK: - Device Management



/// Top level AudioKit managing class
@objc open class AudioKit: NSObject {
    #if !os(macOS)
        static let deviceSampleRate = AVAudioSession.sharedInstance().sampleRate
    #else
        static let deviceSampleRate: Double = 44_100
    #endif

    // MARK: - Internal audio engine mechanics

    /// Reference to the AV Audio Engine
    @objc public internal(set) static var engine: AVAudioEngine {
        get {
            _ = AudioKit.deviceSampleRate // read the original sample rate before any reference to AVAudioEngine happens, so value is retained
            return _engine
