opus-decoder
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"name": "opus-decoder", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Web Assembly streaming Opus decoder", | ||
@@ -5,0 +5,0 @@ "type": "module", |
# `opus-decoder` | ||
`opus-decoder` is a Web Assembly Opus audio decoder. | ||
* 84.3 KiB minified bundle size | ||
* 84.6 KiB minified bundle size | ||
* Browser and NodeJS support | ||
@@ -6,0 +6,0 @@ * Built in Web Worker support |
@@ -38,3 +38,3 @@ import { WASMAudioDecoderCommon } from "@wasm-audio-decoders/common"; | ||
this._inputSize, | ||
Uint8Array | ||
Uint8Array, | ||
); | ||
@@ -44,3 +44,3 @@ | ||
this._outputChannels * this._outputChannelSize, | ||
Float32Array | ||
Float32Array, | ||
); | ||
@@ -50,3 +50,3 @@ | ||
this._channels, | ||
Uint8Array | ||
Uint8Array, | ||
); | ||
@@ -63,3 +63,3 @@ | ||
this._preSkip, | ||
this._forceStereo | ||
this._forceStereo, | ||
); | ||
@@ -88,3 +88,3 @@ }); | ||
throw Error( | ||
"Data to decode must be Uint8Array. Instead got " + typeof opusFrame | ||
"Data to decode must be Uint8Array. Instead got " + typeof opusFrame, | ||
); | ||
@@ -99,3 +99,3 @@ | ||
opusFrame.length, | ||
this._output.ptr | ||
this._output.ptr, | ||
); | ||
@@ -120,3 +120,3 @@ | ||
this._outputChannels, | ||
samplesDecoded | ||
samplesDecoded, | ||
), | ||
@@ -140,3 +140,3 @@ samplesDecoded: samplesDecoded, | ||
this._inputBytes, | ||
this._outputSamples | ||
this._outputSamples, | ||
); | ||
@@ -153,3 +153,3 @@ | ||
decoded.samplesDecoded, | ||
this._sampleRate | ||
this._sampleRate, | ||
); | ||
@@ -178,3 +178,3 @@ }; | ||
this._inputBytes, | ||
this._outputSamples | ||
this._outputSamples, | ||
); | ||
@@ -192,3 +192,3 @@ | ||
samplesDecoded, | ||
this._sampleRate | ||
this._sampleRate, | ||
); | ||
@@ -195,0 +195,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
201720
1207