@mediabunny/mp3-encoder 1.7.6 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/bundles/mediabunny-mp3-encoder.js +2 -2
- package/dist/bundles/mediabunny-mp3-encoder.min.js +1 -1
- package/dist/bundles/mediabunny-mp3-encoder.min.mjs +1 -1
- package/dist/bundles/mediabunny-mp3-encoder.mjs +2 -2
- package/dist/modules/build/lame.js +20 -3
- package/dist/modules/src/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -2
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ For simplicity, all built WASM artifacts are included in the repo, since these r
|
|
|
108
108
|
|
|
109
109
|
### Prerequisites
|
|
110
110
|
|
|
111
|
-
[Install Emscripten](https://emscripten.org/docs/getting_started/downloads.html). The recommended way is using the emsdk, which involves cloning a repo and running a few commands.
|
|
111
|
+
[Install Emscripten](https://emscripten.org/docs/getting_started/downloads.html). The recommended way is using the emsdk, which involves cloning a repo and running a few commands. The following commands assume Emscripten is sourced in.
|
|
112
112
|
|
|
113
113
|
### Compiling LAME:
|
|
114
114
|
|
|
@@ -139,6 +139,7 @@ emcc src/lame-bridge.c build/libmp3lame.a \
|
|
|
139
139
|
-s MODULARIZE=1 \
|
|
140
140
|
-s EXPORT_ES6=1 \
|
|
141
141
|
-s SINGLE_FILE=1 \
|
|
142
|
+
-s ALLOW_MEMORY_GROWTH=1 \
|
|
142
143
|
-s ENVIRONMENT=web,worker \
|
|
143
144
|
-s EXPORTED_RUNTIME_METHODS=cwrap,HEAPU8 \
|
|
144
145
|
-s EXPORTED_FUNCTIONS=_malloc,_free \
|