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

ogg-opus-decoder

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ogg-opus-decoder - npm Package Compare versions

Comparing version 1.6.4 to 1.6.5

4

package.json
{
"name": "ogg-opus-decoder",
"version": "1.6.4",
"version": "1.6.5",
"description": "Web Assembly streaming Ogg Opus decoder",

@@ -54,5 +54,5 @@ "type": "module",

"@wasm-audio-decoders/common": "9.0.1",
"codec-parser": "2.4.2",
"codec-parser": "2.4.3",
"opus-decoder": "0.7.1"
}
}

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

const totalOggSamples = Number(
oggPage[absoluteGranulePosition] - this._beginningSampleOffset
oggPage[absoluteGranulePosition] - this._beginningSampleOffset,
);

@@ -84,3 +84,3 @@

const samplesToTrim = Math.round(
((totalDecodedSamples - totalOggSamples) / 48000) * this._sampleRate
((totalDecodedSamples - totalOggSamples) / 48000) * this._sampleRate,
);

@@ -91,3 +91,3 @@

0,
samplesDecoded - samplesToTrim
samplesDecoded - samplesToTrim,
);

@@ -126,3 +126,3 @@

throw new Error(
"ogg-opus-decoder does not support this codec " + codec
"ogg-opus-decoder does not support this codec " + codec,
);

@@ -182,3 +182,3 @@ };

return WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
...(await this._decode(oggOpusData, new DecoderState(this)))
...(await this._decode(oggOpusData, new DecoderState(this))),
);

@@ -192,4 +192,4 @@ }

...(await this._decode(oggOpusData, decoderState).then(() =>
this._flush(decoderState)
))
this._flush(decoderState),
)),
);

@@ -200,5 +200,5 @@ }

return WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
...(await this._flush(new DecoderState(this)))
...(await this._flush(new DecoderState(this))),
);
}
}

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