MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / fixSetTarget

Function fixSetTarget

libraries/p5.sound.js:86–92  ·  view source on GitHub ↗
(param)

Source from the content-addressed store, hash-verified

84 exports = exports || {};
85 'use strict';
86 function fixSetTarget(param) {
87 if (!param)
88 // if NYI, just return
89 return;
90 if (!param.setTargetAtTime)
91 param.setTargetAtTime = param.setTargetValueAtTime;
92 }
93 if (window.hasOwnProperty('webkitAudioContext') && !window.hasOwnProperty('AudioContext')) {
94 window.AudioContext = webkitAudioContext;
95 if (typeof AudioContext.prototype.createGain !== 'function')

Callers 1

p5.sound.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected