Skip to content

Add float32 Opus decoding - #8

Merged
biw merged 3 commits into
mainfrom
biw/add-float32-decoding
Aug 10, 2026
Merged

Add float32 Opus decoding#8
biw merged 3 commits into
mainfrom
biw/add-float32-decoding

Conversation

@biw

@biw biw commented Aug 10, 2026

Copy link
Copy Markdown
Owner

fixes: discordjs/opus#171

Summary

  • add OpusEncoder#decodeFloat(packet) backed by libopus opus_decode_float
  • preserve the existing signed 16-bit decode() API
  • document the float32 buffer format and add native regression coverage

Validation

  • LIBOPUS_TEST_NATIVE=1 node src/tests/test.js
  • pnpm build-package && pnpm test
  • pnpm check

@biw
biw merged commit f987d6a into main Aug 10, 2026
27 checks passed
@biw
biw deleted the biw/add-float32-decoding branch August 10, 2026 08:34
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.

Support decoding as float32

1 participant