Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to main - v3.0.0 #27

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Merge to main - v3.0.0 #27

merged 1 commit into from
Apr 16, 2024

Conversation

joetoddsonos
Copy link
Collaborator

  • 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

- 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 `Event`s, 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
@joetoddsonos joetoddsonos merged commit e221c2b into main Apr 16, 2024
18 checks passed
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