Skip to content

Commit 8b013eb

Browse files
committed
Export emscripten module
1 parent eb9a0f0 commit 8b013eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compileOpus.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ emmake make install
1616
cd ..
1717
mkdir -p build
1818
emcc -O3 -s EXPORTED_FUNCTIONS="['_opus_decoder_create', '_opus_decode_float', '_opus_decoder_destroy']" -Llibopus/lib -lopus -o build/libopus.js
19+
echo "module.exports = Module" >> build/libopus.js

0 commit comments

Comments
 (0)