do not use initial audio context
This commit is contained in:
@@ -136,11 +136,6 @@ let app = {
|
|||||||
},
|
},
|
||||||
start() {
|
start() {
|
||||||
if (!this.started) {
|
if (!this.started) {
|
||||||
const audioCtx = new AudioContext();
|
|
||||||
this.sounds.forEach(sound => {
|
|
||||||
const source = audioCtx.createMediaElementSource(sound.audio);
|
|
||||||
source.connect(audioCtx.destination);
|
|
||||||
});
|
|
||||||
this.trigger();
|
this.trigger();
|
||||||
if (this.hidePrank) {
|
if (this.hidePrank) {
|
||||||
this.hideApp();
|
this.hideApp();
|
||||||
|
|||||||
Reference in New Issue
Block a user