They're all in src/library_*.js in the emscripten sources. - Bruce
On Thu, Sep 11, 2014 at 12:16 PM, Arve Knudsen <[email protected]> wrote: > As for the audio framework, I definitely need to emulate on top of Web > Audio. I guess a JS library would be fine so long as it gets the job done. > How are SDL and GL libraries shimmed? > > Thanks, > Arve > On Sep 11, 2014 2:05 PM, "Bruce Mitchener" <[email protected]> > wrote: > >> You could try compiling those dependencies with emscripten. Depending on >> what they do, you may need to port them to emscripten (stuff dealing with >> audio sounds like such a thing). >> >> There are other options ... like writing a JS library that mimics the API. >> >> There is some porting documentation on the new website: >> >> http://kripken.github.io/emscripten-site/docs/porting/index.html >> >> But I don't know if the process of writing and using a JS library is >> documented or not. >> >> - Bruce >> >> >> On Thu, Sep 11, 2014 at 10:06 AM, Arve Knudsen <[email protected]> >> wrote: >> >>> Well, I mean, Emscripten already includes shims for dependencies such as >>> SDL. I'm porting code that depends on among other things an audio driver >>> framework, such as ASIO. So, how can I write my own shims for dependencies >>> that aren't supported by Emscripten out of the box? ASIO being an example. >>> >>> Arve >>> >>> On Thu, Sep 11, 2014 at 12:01 PM, Bruce Mitchener < >>> [email protected]> wrote: >>> >>>> What exactly do you mean here? If you ask a more specific / detailed >>>> quesiton, it will be easier for someone to answer. >>>> >>>> - Bruce >>>> >>>> On Thu, Sep 11, 2014 at 8:09 AM, Arve Knudsen <[email protected]> >>>> wrote: >>>> >>>>> Hi guys >>>>> >>>>> I need to write my own shims for certain libraries, where do I find >>>>> documentation on how to do this? >>>>> >>>>> Thanks, >>>>> Arve >>>>> >>>>> >>>> -- >>>> 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. >>>> >>> >>> -- >>> 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. >>> >> >> -- >> 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. >> > -- > 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. > -- 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.
