@mediabunny/mp3-encoder 1.32.2 → 1.34.2
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 -3
- package/dist/bundles/mediabunny-mp3-encoder.js +12 -7
- package/dist/bundles/mediabunny-mp3-encoder.min.js +2 -2
- package/dist/bundles/mediabunny-mp3-encoder.min.mjs +2 -2
- package/dist/bundles/mediabunny-mp3-encoder.mjs +12 -7
- package/dist/modules/src/encode.worker.js +12 -3
- package/dist/modules/src/index.d.ts.map +1 -1
- package/dist/modules/src/index.js +11 -6
- package/dist/modules/src/shared.d.ts +3 -0
- package/dist/modules/src/shared.d.ts.map +1 -1
- package/dist/modules/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/src/encode.worker.ts +12 -3
- package/src/index.ts +16 -9
- package/src/shared.ts +3 -0
- package/src/tsconfig.json +0 -23
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@mediabunny/mp3-encoder)
|
|
4
4
|
[](https://bundlephobia.com/package/@mediabunny/mp3-encoder)
|
|
5
5
|
[](https://www.npmjs.com/package/@mediabunny/mp3-encoder)
|
|
6
|
+
[](https://discord.gg/hmpkyYuS4U)
|
|
6
7
|
|
|
7
8
|
<div align="center">
|
|
8
9
|
<img src="./logo.svg" width="180" height="180">
|
|
@@ -102,8 +103,6 @@ The WASM build itself is a performance-optimized, SIMD-enabled build of LAME 3.1
|
|
|
102
103
|
|
|
103
104
|
## Building and development
|
|
104
105
|
|
|
105
|
-
Building this library is done using the build commands in the [Mediabunny root](https://github.com/Vanilagy/mediabunny).
|
|
106
|
-
|
|
107
106
|
For simplicity, all built WASM artifacts are included in the repo, since these rarely change. However, here are the instructions for building them from scratch:
|
|
108
107
|
|
|
109
108
|
### Prerequisites
|
|
@@ -148,7 +147,7 @@ emcc src/lame-bridge.c build/libmp3lame.a \
|
|
|
148
147
|
-o build/lame.js
|
|
149
148
|
```
|
|
150
149
|
|
|
151
|
-
This generates `build/lame.js`, which contains both the JavaScript "glue code" as well as the compiled WASM
|
|
150
|
+
This generates `build/lame.js`, which contains both the JavaScript "glue code" as well as the compiled WASM inlined.
|
|
152
151
|
|
|
153
152
|
### Building the package
|
|
154
153
|
|