RecorderOption

Swift

public enum RecorderOption : Hashable
extension SoundAnnotation.RecorderOption: CustomStringConvertible

Customizable audio parameters to use when recording a new sound annotation

  • The audio Codec to use.

    Declaration

    Swift

    case encoding(Encoding)
  • The number of channels to record.

    Declaration

    Swift

    case channels(UInt32)
  • The sample rate at which to record.

    Declaration

    Swift

    case sampleRate(hertz: SampleRate)
  • The bits per sample to use while recording.

    Declaration

    Swift

    case bitsPerSample(Depth)
  • Supported values for .sampleRate

    See more

    Declaration

    Swift

    public enum SampleRate : UInt
  • Supported values for .bitsPerSample

    See more

    Declaration

    Swift

    public enum Depth : UInt8
  • Declaration

    Swift

    public var description: String { get }