Skip to content

Commit

Permalink
Export emscripten module
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Jul 20, 2014
1 parent eb9a0f0 commit 8b013eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compileOpus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ emmake make install
cd ..
mkdir -p build
emcc -O3 -s EXPORTED_FUNCTIONS="['_opus_decoder_create', '_opus_decode_float', '_opus_decoder_destroy']" -Llibopus/lib -lopus -o build/libopus.js
echo "module.exports = Module" >> build/libopus.js

0 comments on commit 8b013eb

Please sign in to comment.