BufferLength

@objc public enum BufferLength: Int

Enum of available buffer lengths from Shortest: 2 power 5 samples (32 samples = 0.7 ms @ 44100 kz) to Longest: 2 power 12 samples (4096 samples = 92.9 ms @ 44100 Hz)

  • Shortest

    Declaration

    Swift

    case shortest = 5
  • Very Short

    Declaration

    Swift

    case veryShort = 6
  • Short

    Declaration

    Swift

    case short = 7
  • Medium

    Declaration

    Swift

    case medium = 8
  • Long

    Declaration

    Swift

    case long = 9
  • Very Long

    Declaration

    Swift

    case veryLong = 10
  • Huge

    Declaration

    Swift

    case huge = 11
  • Longest

    Declaration

    Swift

    case longest = 12
  • The buffer Length expressed as number of samples

    Declaration

    Swift

    public var samplesCount: AVAudioFrameCount
  • The buffer Length expressed as a duration in seconds

    Declaration

    Swift

    public var duration: Double