Skip to content

Commit

Permalink
updates for potential use of WebAssembly
Browse files Browse the repository at this point in the history
  • Loading branch information
wothke committed Feb 9, 2018
1 parent ddc5775 commit f3a9f32
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 22 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,11 @@ The all the "Web" changes/additions are contained in the "emscripten" subfolder.
addition is the new adapter.c file: It encapsulates all those APIs that interface with the
JavaScript/Web world.


## LICENSE

This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version. This library is distributed in the hope
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


## Credits
This "project" is based on libxmp (4.3.0): http://xmp.sourceforge.net/


## Howto build

You'll need Emscripten (http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html). The make script
is designed for use of emscripten version 1.37.29 (unless you want to create WebAssembly output, older versions might
also still work).
Expand All @@ -46,3 +29,21 @@ The Web version is then built using the makeEmscripten.bat that can be found in
script will compile directly into the "emscripten/htdocs" example web folder, were it will create
the backend_xmp.js library. The content of the "htdocs" can be tested by first copying it into some
document folder of a web server.

## Dependencies
The current version requires version 1.02 (older versions will not
support WebAssembly) of my https://github.com/wothke/webaudio-player.

## License
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version. This library is distributed in the hope
that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Loading

0 comments on commit f3a9f32

Please sign in to comment.