Skip to content

Implement opusdecoder with wasm-opus-decoder#129

Merged
badaix merged 1 commit intosnapcast:developfrom
chicco-carone:implement-opus-encoder
May 5, 2025
Merged

Implement opusdecoder with wasm-opus-decoder#129
badaix merged 1 commit intosnapcast:developfrom
chicco-carone:implement-opus-encoder

Conversation

@chicco-carone
Copy link
Contributor

This pull request includes significant updates to the src/snapstream.ts file and minor updates to the package.json file. The main focus is on integrating the opus-decoder library and enhancing the OpusDecoder class to support asynchronous decoding.

Integration of opus-decoder library:

Enhancements to OpusDecoder class:

  • src/snapstream.ts: Re-implemented OpusDecoder class to initialize the WebAssembly-based Opus decoder and support asynchronous decoding.
  • src/snapstream.ts: Updated SnapStream class to handle the new asynchronous decode method of OpusDecoder.

Removal of deprecated code:

@badaix badaix merged commit 860002d into snapcast:develop May 5, 2025
@badaix
Copy link
Member

badaix commented May 5, 2025

Great, thanks a lot @chicco-carone! Works like a charm :)
And thanks for your patience, my seven month old daughter is keeping me very busy :)

@chicco-carone
Copy link
Contributor Author

chicco-carone commented May 5, 2025

No problem take care of yourself and thanks for this amazing piece of software.
Btw you should probably update the readme removing this from the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants