v1.58.1

diffusionstudio/corev1.58.1Sep 19, 2026by Vanilagy

Upgrading?

AI Summary

Fixes audio encoding and decoding issues, including scaling for µ-law and A-law audio, polarity corrections, and PCM roundtrip errors. Also improves resource disposal for URL sources.

Key Highlights

  • Fixed invalid scaling for µ-law and A-law audio
  • Fixed inverted A-law audio polarity
  • Fixed off-by-one errors in PCM encode/decode roundtrips
  • UrlSource now aborts requests on dispose

New Features

  • Audio scaling fixes
  • Audio polarity correction
  • PCM roundtrip fixes
  • Resource cleanup improvements

Full Release Notes

- Fixed invalid scaling for µ-law and A-law audio (#517)
- Fixed inverted A-law audio polarity
- Fixed off-by-one errors when doing PCM audio encode->decode roundtrips or using `AudioSample.copyTo()`
- `UrlSource` now aborts ongoing requests immediately on dispose (#518)

Related Repositories