MCPcopy
hub / github.com/processing/p5.js / fixSetTarget

Function fixSetTarget

lib/addons/p5.sound.js:406–410  ·  view source on GitHub ↗
(param)

Source from the content-addressed store, hash-verified

404
405(function () {
406 function fixSetTarget(param) {
407 if (!param)
408 return;
409 if (!param.setTargetAtTime) param.setTargetAtTime = param.setTargetValueAtTime;
410 }
411
412 if (window.hasOwnProperty('webkitAudioContext') && !window.hasOwnProperty('AudioContext')) {
413 window.AudioContext = window.webkitAudioContext;

Callers 1

p5.sound.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected