Suspend immediately
This commit is contained in:
parent
0408433fc3
commit
0da0701d34
1
blarf.js
1
blarf.js
@ -31,6 +31,7 @@
|
|||||||
var DebugSine = 0
|
var DebugSine = 0
|
||||||
|
|
||||||
AudCtx = new AudioContext({sampleRate: hz})
|
AudCtx = new AudioContext({sampleRate: hz})
|
||||||
|
AudCtx.suspend()
|
||||||
|
|
||||||
if(AudCtx.audioWorklet) {
|
if(AudCtx.audioWorklet) {
|
||||||
AudCtx.audioWorklet.addModule("rawpcmworklet.js").then(function() {
|
AudCtx.audioWorklet.addModule("rawpcmworklet.js").then(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user