Skip to content

Commit

Permalink
Only expose vad detector
Browse files Browse the repository at this point in the history
  • Loading branch information
gfodor committed Sep 24, 2020
1 parent 03733ff commit 39206d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ echo "============================================="
-s ENVIRONMENT="web,worker" \
-s EXPORT_ES6=1 \
-s USE_ES6_IMPORT_META=0 \
-s EXPORTED_FUNCTIONS="['_rnnoise_process_frame', '_rnnoise_init', '_rnnoise_destroy', '_rnnoise_create', '_malloc', '_free']" \
-s EXPORTED_FUNCTIONS="['_rnnoise_process_frame_vad', '_rnnoise_init', '_rnnoise_destroy', '_rnnoise_create', '_malloc', '_free']" \
.libs/librnnoise.${SO_SUFFIX} \
-o ./$ENTRY_POINT

Expand All @@ -58,4 +58,4 @@ echo "============================================="
)
echo "============================================="
echo "Compiling wasm bindings done"
echo "============================================="
echo "============================================="

0 comments on commit 39206d9

Please sign in to comment.