udoprog / audio

A crate for working with audio in Rust
Apache License 2.0
78 stars 11 forks source link

no_std support #20

Open Be-ing opened 1 year ago

Be-ing commented 1 year ago

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 commented 1 year ago

Oh, this is already implemented. :smile: Just not documented.