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

Support more sample formats and endianness #690

Closed
wants to merge 44 commits into from

Conversation

kawogi
Copy link
Contributor

@kawogi kawogi commented Sep 13, 2022

This is a proposal for adding more sample formats and endianness-awareness to cpal. The current version has been prepared to support all byte-aligned sample types but so far I only implemented i/u(8, 16, 32, 64) and f(32, 64). I will add more of them (i/u24) shortly if there is a consensus that this approach will be accepted.

Likely fixes #414, fixes #662, fixes #488 fixes #396

This PR would deprecate: #420, #531

The PR #689 is included.

@est31
Copy link
Member

est31 commented Sep 13, 2022

This is nice, but first we need to get #689 merged.

@kawogi
Copy link
Contributor Author

kawogi commented Sep 13, 2022

Agreed and I'm working on it. But I wanted to collect some feedback in parallel.

@kawogi
Copy link
Contributor Author

kawogi commented Oct 17, 2022

I found a cleaner solution to solve this. I'll re-start with another PR.

@kawogi kawogi closed this Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants