         super.init()
     }
     #else
+    /// Initialize the device
+    ///
+    /// - parameter name: The human-readable name for the device.
+    /// - paramter deviceID: The device identifier.
     public init(name: String, deviceID: String)
     {
         self.name = name

import Foundation
import AVFoundation

@objc
public class AKDevice : NSObject
{
    /// The human-readable name for the device.
    public var name: String
    
    /// The device identifier.
    #if os(OSX)
    public private(set) var deviceID: AudioDeviceID
    #else
    public private(set) var deviceID: String
    #endif

    #if os(OSX)
    public init(name: String, deviceID: AudioDeviceID)
    {
        self.name = name

    }
    #endif
    
    /// Printable device description
    public override var description: String
    {
        return "<Device: \(name) (\(deviceID))>"
