Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opus-decoder

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opus-decoder - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc