Commit c0db4119 authored by Bui's avatar Bui Committed by GitHub

Merge pull request #43 from LoveEevee/fix-audioctx-safari

SoundBuffer: Fix AudioContext on Safari
parents b6d9f29a 89321600
class SoundBuffer{
constructor(){
var AudioContext = window.AudioContext || window.webkitAudioContext
this.context = new AudioContext()
pageEvents.once(window, "click").then(() => {
if(this.context.state == "suspended"){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment