MCPcopy Create free account
hub / github.com/csound/csound / WebkitAudioContext

Function WebkitAudioContext

wasm/browser/src/utils.js:27–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 typeof AudioNode !== "undefined" && typeof AudioWorkletNode !== "undefined";
26
27export const WebkitAudioContext = () => {
28 if (typeof window.webkitAudioContext !== "undefined") {
29 return window.webkitAudioContext;
30 } else if (typeof window.AudioContext !== "undefined") {
31 return window.AudioContext;
32 }
33};
34
35export const isScriptProcessorNodeSupported = () => {
36 const audioContext = WebkitAudioContext();

Callers 2

CsoundFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected