AKDevice

@objc
open class AKDevice : NSObject

Wrapper for audio device selection

  • The human-readable name for the device.

    Declaration

    Swift

    open var name: String
  • Declaration

    Swift

    open var nInputChannels: Int?
  • Declaration

    Swift

    open var nOutputChannels: Int?
  • The device identifier.

    Declaration

    Swift

    open fileprivate(set) var deviceID: DeviceID
  • Initialize the device

    Declaration

    Swift

    @objc
    public init(name: String, deviceID: DeviceID, dataSource: String = "")

    Parameters

    name

    The human-readable name for the device.

    deviceID

    The device identifier.

  • Printable device description

    Declaration

    Swift

    override open var description: String { get }