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.6.4 to 0.6.5

5

package.json
{
"name": "opus-decoder",
"version": "0.6.4",
"version": "0.6.5",
"description": "Web Assembly streaming Opus decoder",

@@ -8,2 +8,3 @@ "type": "module",

"exports": "./index.js",
"sideEffects": false,
"types": "types.d.ts",

@@ -51,4 +52,4 @@ "files": [

"dependencies": {
"@wasm-audio-decoders/common": "7.0.0"
"@wasm-audio-decoders/common": "7.0.1"
}
}

16

src/OpusDecoder.js

@@ -53,3 +53,3 @@ import { WASMAudioDecoderCommon } from "@wasm-audio-decoders/common";

this._decoder = this._common.wasm._opus_frame_decoder_create(
this._decoder = this._common.wasm["_opus_frame_decoder_create"](
this._channels,

@@ -77,4 +77,4 @@ this._streamCount,

this._common.free();
this._common.wasm._opus_frame_decoder_destroy(this._decoder);
this._common.wasm._free(this._decoder);
this._common.wasm["_opus_frame_decoder_destroy"](this._decoder);
this._common.wasm["_free"](this._decoder);
};

@@ -90,9 +90,5 @@

let samplesDecoded =
this._common.wasm._opus_frame_decode_float_deinterleaved(
this._decoder,
this._input.ptr,
opusFrame.length,
this._output.ptr
);
let samplesDecoded = this._common.wasm[
"_opus_frame_decode_float_deinterleaved"
](this._decoder, this._input.ptr, opusFrame.length, this._output.ptr);

@@ -99,0 +95,0 @@ let error;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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