udoprog / audio

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

Export buffer adapters from audio_core #27

Closed Be-ing closed 1 year ago

Be-ing commented 1 year ago

I noticed this trying to use the Limit struct returned by Buf::limit.

udoprog commented 1 year ago

This is not strictly necessary since buf is public, and I'd rather not put such generic named things in the root of the module instead opt for doing what std::iter does in tucking away its adapters and the like.