Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.WebAudio.BaseAudioContext
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { BaseAudioContext } = Protocol.WebAudio;

Protocol object for BaseAudioContext

Properties

contextId: GraphObjectId
contextType: ContextType
contextState: ContextState
optional
realtimeData: ContextRealtimeData
callbackBufferSize: number

Platform-dependent callback buffer size.

maxOutputChannelCount: number

Number of output channels supported by audio hardware in use.

sampleRate: number

Context sample rate.