preliminary web worker support #4

Merged
merged 3 commits into from Nov 20, 2015
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

Viewing a subset of changes. View all
Prev

ehh

  • Loading branch information...
taisel committed Nov 20, 2015
commit 3c6bcf910881c25074e6619c3337d1400634e0c7
@@ -62,8 +62,8 @@ window.onload = function () {
}
function registerIodineHandler() {
try {
- if (!window.SharedInt32Array) {
- //Audio synchronization is much better with shared array memory:
+ //Will run like shit if missing some of this for the webworker copy:
+ if (!Math.imul || !window.Int32Array /*|| !window.SharedInt32Array*/) {
throw null;
}
//Try starting Iodine in a webworker: