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

no_std support #20

Open
Be-ing opened this issue Dec 4, 2022 · 1 comment
Open

no_std support #20

Be-ing opened this issue Dec 4, 2022 · 1 comment

Comments

@Be-ing
Copy link
Contributor

Be-ing commented Dec 4, 2022

It would be nice to make this library compatible with no_std environments. I think it would just require guarding some modules behind a feature flag and replacing references to std with core and alloc. I don't think there's much of a need for dedicated buffer structs for this use case. no_std users could use audio::wrap::sequential/interleaved on plain arrays to make use of the Buf/BufMut traits.

@Be-ing
Copy link
Contributor Author

Be-ing commented Dec 5, 2022

Oh, this is already implemented. 😄 Just not documented.

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

No branches or pull requests

1 participant