AVAudioTime

class AVAudioTime : NSObject
  • AVAudioTime.extrapolateTime fails for host time valid times, use extrapolateTimeShimmed instead. https://bugreport.apple.com/web/?problemID=34249528

    Declaration

    Swift

    open func extrapolateTimeShimmed(fromAnchor anchorTime: AVAudioTime) -> AVAudioTime
  • An AVAudioTime with a valid hostTime representing now.

    Declaration

    Swift

    open static func now() -> AVAudioTime
  • Returns an AVAudioTime offest by seconds.

    Declaration

    Swift

    open func offset(seconds: Double) -> AVAudioTime
  • The time in seconds between reciever and otherTime.

    Declaration

    Swift

    open func timeIntervalSince(otherTime: AVAudioTime) -> Double?