AudioClock class abstract

An audio clock that provides a time reference for audio tasks.

Implementers
Available extensions

Constructors

AudioClock.new()
General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Properties

elapsedTime AudioTime
The elapsed time of the clock.
no setter
hashCode int
The hash code for this object.
no setterinherited
isStarted bool
Whether the clock is started.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets the clock.
runWithBuffer({required AudioFrames frames, required bool onTick(AudioClock, AudioBuffer)}) Future<void>

Available on AudioClock, provided by the AudioClockExtension extension

Runs the clock with an audio buffer while the onTick callback returns true.
start({required AudioClockCallback onTick}) → void
Starts the clock.
stop() → void
Stops the clock.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited