DataSource

public struct DataSource
extension AudioDevice.DataSource: CustomDebugStringConvertible

A data source for an audio device

  • Returns the owning audio device

    Declaration

    Swift

    public let device: AudioDevice
  • Returns the data source scope

    Declaration

    Swift

    public let scope: PropertyScope
  • id

    Returns the data source ID

    Declaration

    Swift

    public let id: UInt32
  • Returns the data source name

    Declaration

    Swift

    public func name() throws -> String
  • Returns the data source kind

    Declaration

    Swift

    public func kind() throws -> UInt32

Audio Device Properties Implemented by Audio Controls

  • Declaration

    Swift

    public var debugDescription: String { get }