WebQuake
WebQuake copied to clipboard
Uncaught TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but only 2 present.
Got this error when loading the quaddicted page, and also when cloning from github and running from local web server.
https://github.com/SiPlus/WebQuake/blob/master/Client/WebQuake/S.js#L818
Chrome Version 36.0.1985.143 Platform 5841.98.0 (Official Build) stable-channel link
Same here.
FindFile: id1/sound/ambience/water1.wav Sys.js:25 Uncaught TypeError: Failed to execute 'createBuffer' on 'AudioContext': 3 arguments required, but only 2 present.
Chromium 37.0.2062.94 (Developer Build 290621) OS Linux Blink 537.36 (@180557) JavaScript V8 3.27.34.14
I temporarily disabled Web Audio API support because the synchronous version of createBuffer is now gone :( Maybe I'll make a fix later using copyToChannel.
Thanks! If you remember, a while back I packaged your code into an app for the Chrome web store, doing some really nasty hacks to make it load the resources asynchronously. I changed the process so that now it loads your code 100% unmodified into a "webview" tag, which allows it to do the synchronous XHR stuff. https://github.com/kzahel/WebQuake-Chrome