do not use initial audio context

This commit is contained in:
Klemek
2024-10-18 19:06:23 +02:00
parent 2cd9310974
commit 5ced094217
-5
View File
@@ -136,11 +136,6 @@ let app = {
},
start() {
if (!this.started) {
const audioCtx = new AudioContext();
this.sounds.forEach(sound => {
const source = audioCtx.createMediaElementSource(sound.audio);
source.connect(audioCtx.destination);
});
this.trigger();
if (this.hidePrank) {
this.hideApp();