AudioCodecSettings

public struct AudioCodecSettings : Codable, Sendable

Constraints on the audio codec compression settings.

  • The default value.

    Declaration

    Swift

    public static let `default`: AudioCodecSettings
  • Maximum number of channels supported by the system

    Declaration

    Swift

    public static let maximumNumberOfChannels: UInt32
  • Specifies the bitRate of audio output.

    Declaration

    Swift

    public var bitRate: Int
  • Specifies the mixes the channels or not.

    Declaration

    Swift

    public var downmix: Bool
  • Specifies the map of the output to input channels.

    Declaration

    Swift

    public var channelMap: [Int]?