IOAudioMixerSettings

public struct IOAudioMixerSettings

Constraints on the audio mixier settings.

  • The default value.

    Declaration

    Swift

    public static let `default`: IOAudioMixerSettings
  • Maximum sampleRate supported by the system

    Declaration

    Swift

    public static let maximumSampleRate: Float64
  • Specifies the sampleRate of audio output.

    Declaration

    Swift

    public let sampleRate: Float64
  • Specifies the channels of audio output.

    Declaration

    Swift

    public let channels: UInt32
  • Specifies the muted that indicates whether the audio output is muted.

    Declaration

    Swift

    public var isMuted: Bool
  • Specifies the main track number.

    Declaration

    Swift

    public var mainTrack: UInt8
  • Specifies the track settings.

    Declaration

    Swift

    public var tracks: [UInt8 : IOAudioMixerTrackSettings]
  • Creates a new instance of a settings.

    Declaration

    Swift

    public init(
        sampleRate: Float64 = 0,
        channels: UInt32 = 0
    )