ogg-opus-decoder
Advanced tools
Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "ogg-opus-decoder", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Web Assembly streaming Ogg Opus decoder", | ||
@@ -5,0 +5,0 @@ "main": "dist/ogg-opus-decoder.min.js", |
@@ -13,3 +13,3 @@ import { WASMAudioDecoderCommon } from "@wasm-audio-decoders/common"; | ||
this._stereoDownmix = options.stereoDownmix || false; | ||
this._forceStereo = options.forceStereo || false; | ||
@@ -52,3 +52,3 @@ // Max data to send per iteration. 64k is the max for enqueueing in libopusfile. | ||
this._decoder = this._common.wasm._ogg_opus_decoder_create(); | ||
this._decoderMethod = this._stereoDownmix | ||
this._decoderMethod = this._forceStereo | ||
? this._common.wasm._ogg_opus_decode_float_stereo_deinterleaved | ||
@@ -55,0 +55,0 @@ : this._common.wasm._ogg_opus_decode_float_deinterleaved; |
Sorry, the diff of this file is not supported yet
265094