ogg-opus-decoder
Advanced tools
Comparing version 1.6.9 to 1.6.10
{ | ||
"name": "ogg-opus-decoder", | ||
"version": "1.6.9", | ||
"version": "1.6.10", | ||
"description": "Web Assembly streaming Ogg Opus decoder", | ||
@@ -8,3 +8,3 @@ "type": "module", | ||
"exports": { | ||
"types":"./types.d.ts", | ||
"types": "./types.d.ts", | ||
"default": "./index.js" | ||
@@ -57,6 +57,6 @@ }, | ||
"dependencies": { | ||
"@wasm-audio-decoders/common": "9.0.3", | ||
"@wasm-audio-decoders/common": "9.0.4", | ||
"codec-parser": "2.4.3", | ||
"opus-decoder": "0.7.4" | ||
"opus-decoder": "0.7.5" | ||
} | ||
} |
@@ -1,32 +0,30 @@ | ||
import { DecodeError } from "@wasm-audio-decoders/common/types"; | ||
import { DecodeError } from "@wasm-audio-decoders/common"; | ||
declare module "ogg-opus-decoder" { | ||
export interface OpusDecodedAudio { | ||
channelData: Float32Array[]; | ||
samplesDecoded: number; | ||
sampleRate: 48000; | ||
errors: DecodeError[]; | ||
} | ||
export interface OggOpusDecodedAudio { | ||
channelData: Float32Array[]; | ||
samplesDecoded: number; | ||
sampleRate: 48000; | ||
errors: DecodeError[]; | ||
} | ||
export class OggOpusDecoder { | ||
public constructor(options?: { forceStereo?: boolean }); | ||
ready: Promise<void>; | ||
reset: () => Promise<void>; | ||
free: () => void; | ||
decode: (data: Uint8Array) => OpusDecodedAudio; | ||
decodeFile: (data: Uint8Array) => Promise<OpusDecodedAudio>; | ||
flush: () => Promise<OpusDecodedAudio>; | ||
} | ||
export class OggOpusDecoder { | ||
public constructor(options?: { forceStereo?: boolean }); | ||
ready: Promise<void>; | ||
reset: () => Promise<void>; | ||
free: () => void; | ||
decode: (data: Uint8Array) => OggOpusDecodedAudio; | ||
decodeFile: (data: Uint8Array) => Promise<OggOpusDecodedAudio>; | ||
flush: () => Promise<OggOpusDecodedAudio>; | ||
} | ||
export class OggOpusDecoderWebWorker { | ||
public constructor(options?: { forceStereo?: boolean }); | ||
ready: Promise<void>; | ||
reset: () => Promise<void>; | ||
free: () => Promise<void>; | ||
decode: (data: Uint8Array) => Promise<OpusDecodedAudio>; | ||
decodeFile: (data: Uint8Array) => Promise<OpusDecodedAudio>; | ||
flush: () => Promise<OpusDecodedAudio>; | ||
} | ||
export class OggOpusDecoderWebWorker { | ||
public constructor(options?: { forceStereo?: boolean }); | ||
ready: Promise<void>; | ||
reset: () => Promise<void>; | ||
free: () => Promise<void>; | ||
decode: (data: Uint8Array) => Promise<OggOpusDecodedAudio>; | ||
decodeFile: (data: Uint8Array) => Promise<OggOpusDecodedAudio>; | ||
flush: () => Promise<OggOpusDecodedAudio>; | ||
} | ||
export { DecodeError } | ||
} | ||
export { DecodeError }; |
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
193570
731
+ Added@wasm-audio-decoders/common@9.0.4(transitive)
+ Addedopus-decoder@0.7.5(transitive)
- Removed@wasm-audio-decoders/common@9.0.3(transitive)
- Removedopus-decoder@0.7.4(transitive)
Updatedopus-decoder@0.7.5