aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-08-30 13:50:53 -0400
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-08-30 21:28:30 -0400
commit48c29e7ccf650b3820201e70ea401bbe3531df46 (patch)
treef40f3b6fbc7361eb6b8956927bbe539407af92db /src
parente541e0d9327cc4f84d2f4c0e2b2437861169c4b6 (diff)
Disable the Web Audio code for now
Diffstat (limited to 'src')
-rw-r--r--src/library_sdl.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js
index 7772c19b..b49c984a 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -1239,6 +1239,7 @@ var LibrarySDL = {
// Workaround for Firefox bug 783052
// ignore this exception!
}
+ /*
} else if (contextCtor = (window.AudioContext || // WebAudio API
window.webkitAudioContext)) {
var currentIndex = 0;
@@ -1274,6 +1275,7 @@ var LibrarySDL = {
source.connect(jsNode);
jsNode.connect(context.destination);
source.noteOn(0);
+ */
}
} else {
audio.play();