Options

public struct Options

The conversion options, leave nil to adopt the value of the input file

  • Declaration

    Swift

    public init()
  • Declaration

    Swift

    public var format: String?
  • Declaration

    Swift

    public var sampleRate: Double?
  • used only with PCM data

    Declaration

    Swift

    public var bitDepth: UInt32?
  • used only when outputting compressed from PCM

    Declaration

    Swift

    public var bitRate: UInt32
  • Declaration

    Swift

    public var channels: UInt32?
  • Declaration

    Swift

    public var isInterleaved: Bool?
  • overwrite existing files, set false if you want to handle this before you call start()

    Declaration

    Swift

    public var eraseFile: Bool