struct Protocol::WebAudio::BaseAudioContext

Overview

Protocol object for BaseAudioContext

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_buffer_size : Number::Primitive #

Platform-dependent callback buffer size.


[View source]
def context_id : GraphObjectId #

[View source]
def context_state : ContextState #

[View source]
def context_type : ContextType #

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

Number of output channels supported by audio hardware in use.


[View source]
def realtime_data : ContextRealtimeData | Nil #

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

Context sample rate.


[View source]