Skip to content

Releases: sonos/pyFLAC

v3.0.0

16 Apr 15:00
e221c2b
Compare
Choose a tag to compare
  • This fixes a bug where decoder threads are left hanging waiting for more data to process, when the stream has already finished.
  • Switching polling for thread signalling with Events, and also added a Lock when reading/writing the buffer.
  • I also updated the FileEncoder to automatically detect the bit depth of the input file, and use this for encoding. An error is raised if it is not 16 or 32 bit PCM. Since this made the dtype variable redundant, I updated the version to v3.
  • Added @GOAE 's suggestion of a OneShotDecoder for anyone that just wants to decode a buffer once, rather than in real time.
  • Added official support for Python3.12

v2.2.0

03 Aug 17:02
38e6de1
Compare
Choose a tag to compare
  • Updated FLAC library to v1.4.3. See FLAC Changelog
  • Added support for int32 data
  • Added limit_min_bitrate property.
  • Removed support for Python 3.7

v2.1.0

26 Oct 13:29
17148bc
Compare
Choose a tag to compare
  • Added support for Linux arm64 architectures
  • Added support for Darwin arm64 architectures (macOS Apple Silicon)
  • Fixed Raspberry Pi Zero library (see #13)
  • Updated FLAC library to v1.3.4

v2.0.0

21 Jul 07:31
9bfba05
Compare
Choose a tag to compare

Breaking changes

  • Renamed the write callbacks from callback to write_callback for StreamEncoder and StreamDecoder
  • Added seek and tell callbacks to StreamEncoder

v1.0.0

22 Apr 16:45
Compare
Choose a tag to compare
  • Added a StreamEncoder to compress raw audio data on-the-fly into a FLAC byte stream
  • Added a StreamDecoder to decompress a FLAC byte stream back to raw audio data
  • Added a FileEncoder to convert a WAV file to FLAC encoded data, optionally saving to a FLAC file
  • Added a FileDecoder to convert a FLAC file to raw audio data, optionally saving to a WAV file
  • Bundled with libFLAC version 1.3.3