AKNodeTiming

open class AKNodeTiming : NSObject

An AKTiming implementation that uses a node for it’s render time info.

  • An output node used for tming info.

    Declaration

    Swift

    open weak var node: AKOutput?
  • The current time in the timeline (seconds).

    Declaration

    Swift

    open var currentTime: Double { get set }
  • Start playback immediately.

    Declaration

    Swift

    open func start()
  • Stops playback immediately.

    Declaration

    Swift

    open func stop()
  • Initialize with a node to be used for timing info.

    Declaration

    Swift

    public init(node: AKOutput)

    Parameters

    node

    A node to be used for timing information.

  • Declaration

    Swift

    public var isStarted: Bool { get }
  • Declaration

    Swift

    open func position(at audioTime: AVAudioTime?) -> Double
  • Declaration

    Swift

    open func audioTime(at position: Double) -> AVAudioTime?
  • Declaration

    Swift

    open func start(at audioTime: AVAudioTime?)
  • Declaration

    Swift

    open func setPosition(_ position: Double)