chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.webaudio / ContextRealtimeData

ContextRealtimeData

data class ContextRealtimeData

Fields in AudioContext that change in real-time.

Constructors

<init>

Fields in AudioContext that change in real-time.

ContextRealtimeData(currentTime: Double, renderCapacity: Double, callbackIntervalMean: Double, callbackIntervalVariance: Double)

Properties

callbackIntervalMean

A running mean of callback interval.

val callbackIntervalMean: Double

callbackIntervalVariance

A running variance of callback interval.

val callbackIntervalVariance: Double

currentTime

The current context time in second in BaseAudioContext.

val currentTime: Double

renderCapacity

The time spent on rendering graph divided by render qunatum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur.

val renderCapacity: Double