I have done a generic WebAudio based music player where various independent 
backends (that produce the actual sample data) can be plugged in.
Most of the backends are implemented using Emscripten and I am using an 
approach like the "MODULARIZE" feature of more 
recent EMSCRIPTEN versions to avoid name clashes, e.g.

var backend_SID = (function() {

[..... original code generated by Emscripten...]

  return {
Module: Module  // expose original Module
  };
})();

As long as only one of these "backend" modules is loaded on a page the 
logic works flawlessly. But as soon as I load a 2nd "backend" on the same 
page, then the 1st "backend" seems to get corrupted.. It looks as if there 
is some global state that both modules are sharing..

Is this a known issue to do with the old version (emsdk-1.13.0) that I am 
still using? 

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to