commit: b365eeebb2be39c2a220b1c95312c504dbd77d47
parent bfc308f1f4719259e8d41511e8c9f11272bb1343
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 25 Apr 2022 19:14:53 +0200
change webkitAudioContext into AudioContext
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ibniz.html b/ibniz.html
@@ -799,9 +799,9 @@ function Parser(simpleGetPut,useAudio)
this.buffer = new Float32Array(512);
}
}
- if(typeof webkitAudioContext !== 'undefined')
+ if(typeof AudioContext !== 'undefined')
{
- this.audioCtx = new webkitAudioContext();
+ this.audioCtx = new AudioContext();
this.audioSR = this.audioCtx.sampleRate/60;
this.useChromeAudio = true;
this.buffer = new Float32Array(512);