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

Wavbrro format #64

Merged
merged 6 commits into from
Nov 3, 2023
Merged

Wavbrro format #64

merged 6 commits into from
Nov 3, 2023

Conversation

cjrolo
Copy link
Collaborator

@cjrolo cjrolo commented Nov 2, 2023

This is the new WAVBRRO format, using the rkyv crate.

Not all features are implemented (Streaming, working with serialized data, working with different types, etc) but it lays the work to integrate into the compressor and also creating a new tool (wav2wavbrro) to convert all the existing data to this new format.

Far more simple and less "hackish" that the old work around the WAV format.

Copy link
Contributor

@Daniil-Golikov Daniil-Golikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great progress on the library! Two quick notes for future consideration:

Error Handling: There's a fair bit of expect and unwrap calls all over the code. While totally fine for now, we should look at more nuanced error handling down the line to avoid panics. Maybe error propagation?

Platform Compatibility: The write_wavbrro_file function's use of std::os::unix might limit cross-platform use. But if it is designed exclusively for UNIX, then everything makes sense.

wavbrro/src/wavbrro.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@rukai rukai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exciting!

@cjrolo
Copy link
Collaborator Author

cjrolo commented Nov 3, 2023

Improved README to state what actually is in the package (Including no Windows support), added the suggestions from the review.

@cjrolo cjrolo merged commit e8659a7 into main Nov 3, 2023
2 checks passed
@cjrolo cjrolo deleted the wavbrro branch November 3, 2023 10:20
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.

3 participants