Class ContextRealtimeData

java.lang.Object
io.webfolder.cdp.type.webaudio.ContextRealtimeData

public class ContextRealtimeData
extends java.lang.Object
Fields in AudioContext that change in real-time
  • Constructor Summary

    Constructors 
    Constructor Description
    ContextRealtimeData()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Double getCallbackIntervalMean()
    A running mean of callback interval.
    java.lang.Double getCallbackIntervalVariance()
    A running variance of callback interval.
    java.lang.Double getCurrentTime()
    The current context time in second in BaseAudioContext.
    java.lang.Double getRenderCapacity()
    The time spent on rendering graph divided by render qunatum duration, and multiplied by 100.
    void setCallbackIntervalMean​(java.lang.Double callbackIntervalMean)
    A running mean of callback interval.
    void setCallbackIntervalVariance​(java.lang.Double callbackIntervalVariance)
    A running variance of callback interval.
    void setCurrentTime​(java.lang.Double currentTime)
    The current context time in second in BaseAudioContext.
    void setRenderCapacity​(java.lang.Double renderCapacity)
    The time spent on rendering graph divided by render qunatum duration, and multiplied by 100.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCurrentTime

      public java.lang.Double getCurrentTime()
      The current context time in second in BaseAudioContext.
    • setCurrentTime

      public void setCurrentTime​(java.lang.Double currentTime)
      The current context time in second in BaseAudioContext.
    • getRenderCapacity

      public java.lang.Double getRenderCapacity()
      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.
    • setRenderCapacity

      public void setRenderCapacity​(java.lang.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.
    • getCallbackIntervalMean

      public java.lang.Double getCallbackIntervalMean()
      A running mean of callback interval.
    • setCallbackIntervalMean

      public void setCallbackIntervalMean​(java.lang.Double callbackIntervalMean)
      A running mean of callback interval.
    • getCallbackIntervalVariance

      public java.lang.Double getCallbackIntervalVariance()
      A running variance of callback interval.
    • setCallbackIntervalVariance

      public void setCallbackIntervalVariance​(java.lang.Double callbackIntervalVariance)
      A running variance of callback interval.