struct Protocol::WebAudio::ContextRealtimeData

Overview

Fields in AudioContext that change in real-time.

Included Modules

Defined in:

protocol/web_audio.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def callback_interval_mean : Number::Primitive #

A running mean of callback interval.


[View source]
def callback_interval_variance : Number::Primitive #

A running variance of callback interval.


[View source]
def current_time : Number::Primitive #

The current context time in second in BaseAudioContext.


[View source]
def render_capacity : Number::Primitive #

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


[View source]