AudioTimestamp Class

A time of an AudioContext and the corresponding time of the performance timeline (https://webaudio.github.io/web-audio-api/#AudioTimestamp).

public sealed class AudioTimestamp

Constructors

NameDescription
AudioTimestamp()

AudioTimestamp()

public AudioTimestamp()

No documentation is available.

Properties

NameDescription
ContextTimeGets the time of the context in seconds.
PerformanceTimeGets the time of the performance timeline (in milliseconds, relative to the time origin of the window) at which the frame of AudioTimestamp.ContextTime is output.

ContextTime

AudioContext.cs

Gets the time of the context in seconds.

public double ContextTime { get; init; }

PerformanceTime

AudioContext.cs

Gets the time of the performance timeline (in milliseconds, relative to the time origin of the window) at which the frame of AudioTimestamp.ContextTime is output.

public double PerformanceTime { get; init; }