@wasm-audio-decoders/flac
Advanced tools
Comparing version 0.1.8 to 0.1.9
{ | ||
"name": "@wasm-audio-decoders/flac", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Web Assembly streaming FLAC decoder", | ||
@@ -52,4 +52,4 @@ "type": "module", | ||
"@wasm-audio-decoders/common": "9.0.0", | ||
"codec-parser": "2.3.0" | ||
"codec-parser": "2.4.0" | ||
} | ||
} |
# `@wasm-audio-decoders/flac` | ||
`@wasm-audio-decoders/flac` is a Web Assembly FLAC audio decoder. | ||
* 62.3 KiB minified bundle size | ||
* 62.7 KiB minified bundle size | ||
* Browser and NodeJS support | ||
@@ -6,0 +6,0 @@ * Built in Web Worker support |
import { WASMAudioDecoderCommon } from "@wasm-audio-decoders/common"; | ||
import CodecParser from "codec-parser"; | ||
import CodecParser, { data } from "codec-parser"; | ||
@@ -225,3 +225,3 @@ import EmscriptenWASM from "./EmscriptenWasm.js"; | ||
return this._decoder.decodeFrames( | ||
[...this._codecParser.parseChunk(flacData)].map((f) => f.data) | ||
[...this._codecParser.parseChunk(flacData)].map((f) => f[data]) | ||
); | ||
@@ -232,3 +232,3 @@ } | ||
const decoded = this._decoder.decodeFrames( | ||
[...this._codecParser.flush()].map((f) => f.data) | ||
[...this._codecParser.flush()].map((f) => f[data]) | ||
); | ||
@@ -242,3 +242,3 @@ | ||
const decoded = this._decoder.decodeFrames( | ||
[...this._codecParser.parseAll(flacData)].map((f) => f.data) | ||
[...this._codecParser.parseAll(flacData)].map((f) => f[data]) | ||
); | ||
@@ -245,0 +245,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184292
+ Addedcodec-parser@2.4.0(transitive)
- Removedcodec-parser@2.3.0(transitive)
Updatedcodec-parser@2.4.0